Working on #48 : Fixed ExpressionParser.py

This commit is contained in:
2021-03-12 10:20:43 +01:00
parent a49f8bed71
commit 2761d8c26d
4 changed files with 8 additions and 4 deletions
+2 -2
View File
@@ -401,8 +401,8 @@ class BaseExpressionParser(BaseParser):
def parse_tokens(self, context, parser_input, error_sink):
def stop():
return token.type == TokenKind.EOF or \
paren_count == 0 and token.type == TokenKind.RPAR or \
self.parse_tokens_stop_condition(token, parser_input)
paren_count == 0 and (token.type == TokenKind.RPAR or
self.parse_tokens_stop_condition(token, parser_input))
token = parser_input.token
if token.type == TokenKind.EOF: