Skip to content

Commit

Permalink
formatting tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
schorrm committed Mar 18, 2020
1 parent 2f36858 commit 1df3083
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions arm2riscv.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,7 @@
buffer = []
ops = set()

grammar_file = os.path.join(
os.path.dirname(__file__),
'grammar/grammar_arm.lark'
)
grammar_file = os.path.join(os.path.dirname(__file__), 'grammar/grammar_arm.lark')

with open(grammar_file) as f:
grammar = f.read()
Expand Down
1 change: 1 addition & 0 deletions utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/python3

class InstructionNotRecognized(Exception):
''' Exception to throw when an instruction does not have defined conversion code '''
pass


Expand Down

0 comments on commit 1df3083

Please sign in to comment.