Removed debug Console.write_line()
This commit is contained in:
parent
2a65a66a86
commit
6511d3d577
@ -351,14 +351,12 @@ class ParserService(ParserABC):
|
|||||||
self._ast.append(AST(ASTTypesEnum.Keyword, token.value))
|
self._ast.append(AST(ASTTypesEnum.Keyword, token.value))
|
||||||
|
|
||||||
elif i == 1 and token.type == TokenTypes.Name:
|
elif i == 1 and token.type == TokenTypes.Name:
|
||||||
Console.write_line('NAME')
|
|
||||||
name, last_token = self._parse_name(tokens.skip(i))
|
name, last_token = self._parse_name(tokens.skip(i))
|
||||||
if last_token is not None:
|
if last_token is not None:
|
||||||
i = tokens.index(last_token)
|
i = tokens.index(last_token)
|
||||||
ast.append(name)
|
ast.append(name)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
Console.write_line('TEST')
|
|
||||||
self._runtime.error(Error(ErrorCodesEnum.Unexpected, token.value))
|
self._runtime.error(Error(ErrorCodesEnum.Unexpected, token.value))
|
||||||
|
|
||||||
i += 1
|
i += 1
|
||||||
|
Loading…
Reference in New Issue
Block a user