Add optional semicolon at the end of statements and move loop parser from factor to expression (change precedence)
This commit is contained in:
@@ -12,6 +12,7 @@ class TokenType(Enum):
|
||||
CLOSE_SQUARE = ']'
|
||||
OPEN_ANGLE = '<'
|
||||
CLOSE_ANGLE = '>'
|
||||
SEMICOLON = ';'
|
||||
ASTERISK = '*'
|
||||
ASSIGN = '='
|
||||
ARROW = '->'
|
||||
|
||||
Reference in New Issue
Block a user