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))
|
||||
|
||||
elif i == 1 and token.type == TokenTypes.Name:
|
||||
Console.write_line('NAME')
|
||||
name, last_token = self._parse_name(tokens.skip(i))
|
||||
if last_token is not None:
|
||||
i = tokens.index(last_token)
|
||||
ast.append(name)
|
||||
|
||||
else:
|
||||
Console.write_line('TEST')
|
||||
self._runtime.error(Error(ErrorCodesEnum.Unexpected, token.value))
|
||||
|
||||
i += 1
|
||||
|
Loading…
Reference in New Issue
Block a user