Create new parser (works for lists so far)
This commit is contained in:
@@ -7,7 +7,7 @@ from smnp.token.type import TokenType
|
||||
|
||||
|
||||
def parseFunctionDefinition(input, parent):
|
||||
if input.current().type == TokenType.FUNCTION:
|
||||
if input.isCurrent(TokenType.FUNCTION):
|
||||
token = input.current()
|
||||
input.ahead()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user