aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2015-12-28 18:40:54 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2015-12-28 18:40:54 +0300
commit746e875f678d32f4c832c06ed0e145fe41b844d6 (patch)
treed8b05b3e6938f671806f0664870086a2688e7049 /src
parentREADME update (diff)
downloadsimple-interpreter-746e875f678d32f4c832c06ed0e145fe41b844d6.tar.gz
simple-interpreter-746e875f678d32f4c832c06ed0e145fe41b844d6.zip
strip extra whitespace
Diffstat (limited to 'src')
-rw-r--r--src/lexer.py2
-rw-r--r--src/parser.py2
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: