Skip to content

Commit

Permalink
Merge branch 'master' into user/timh/argparse
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Waterman <[email protected]>
  • Loading branch information
aswaterman authored Dec 20, 2024
2 parents 1fa46f7 + f4aa35e commit 7ce8046
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@ def generate_extensions(
latex: bool,
):
instr_dict = create_inst_dict(extensions, include_pseudo)
instr_dict = dict(sorted(instr_dict.items()))

with open("instr_dict.json", "w", encoding="utf-8") as outfile:
json.dump(add_segmented_vls_insn(instr_dict), outfile, indent=2)
instr_dict = collections.OrderedDict(sorted(instr_dict.items()))

if c:
instr_dict_c = create_inst_dict(
extensions, False, include_pseudo_ops=emitted_pseudo_ops
)
instr_dict_c = collections.OrderedDict(sorted(instr_dict_c.items()))
instr_dict_c = dict(sorted(instr_dict_c.items()))
make_c(instr_dict_c)
logging.info("encoding.out.h generated successfully")

Expand Down

0 comments on commit 7ce8046

Please sign in to comment.