Added const modifier to grammar
This commit is contained in:
parent
a676f9e8e5
commit
17157e177c
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ unary_operator_list = unary_operator+;
|
|||
variable_reference = IDENTIFIER; // used in expressions
|
||||
variable_declaration = variable_modifiers IDENTIFIER;
|
||||
variable_definition = variable_modifiers IDENTIFIER ASSIGN expression;
|
||||
variable_modifiers = VAR [LOCAL];
|
||||
variable_modifiers = VAR [LOCAL] [CONST];
|
||||
variable_assignment = IDENTIFIER assignment_operator expression;
|
||||
variable_augment = postfix_augment | prefix_augment;
|
||||
|
||||
|
|
Loading…
Reference in a new issue