diff options
Diffstat (limited to '')
-rw-r--r-- | src/lexer.py | 2 | ||||
-rw-r--r-- | src/parser.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lexer.py b/src/lexer.py index e4c26ce..40b994a 100644 --- a/src/lexer.py +++ b/src/lexer.py @@ -7,7 +7,7 @@ import re from tokens import * class LexerError(RuntimeError): - pass + pass class Lexer: def __init__(self, src_file): diff --git a/src/parser.py b/src/parser.py index 5ee5207..fc748ff 100644 --- a/src/parser.py +++ b/src/parser.py @@ -168,7 +168,7 @@ class Parser: else: return left return left - + def _parse_arithm_factor(self): identifier = self._try_parse_token(IdentifierToken) if identifier: |