Working on #48 : Fixed ExpressionParser.py
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user