From 746e875f678d32f4c832c06ed0e145fe41b844d6 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 28 Dec 2015 18:40:54 +0300 Subject: strip extra whitespace --- src/lexer.py | 2 +- src/parser.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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: -- cgit v1.2.3