diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2015-12-28 18:40:54 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2015-12-28 18:40:54 +0300 |
commit | 746e875f678d32f4c832c06ed0e145fe41b844d6 (patch) | |
tree | d8b05b3e6938f671806f0664870086a2688e7049 /src | |
parent | README update (diff) | |
download | simple-interpreter-746e875f678d32f4c832c06ed0e145fe41b844d6.tar.gz simple-interpreter-746e875f678d32f4c832c06ed0e145fe41b844d6.zip |
strip extra whitespace
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: |