Removed const_definition

Going to make constants a modifier for the variable symbol instead of
their own keyword.
This commit is contained in:
arookas 2016-02-22 20:07:21 -05:00
parent 1ecf0ed2bd
commit 6bba9894d5

View file

@ -124,7 +124,6 @@ statement =
statement_block;
compound_statement = compound_statement_item {COMMA compound_statement_item};
compound_statement_item =
const_definition |
variable_definition |
variable_declaration |
variable_assignment |
@ -170,10 +169,6 @@ term =
unary_operator_list = unary_operator+;
// constants
const_definition = const_modifiers IDENTIFIER ASSIGN expression;
const_modifiers = CONST [LOCAL];
// variables
variable_reference = IDENTIFIER; // used in expressions
variable_declaration = variable_modifiers IDENTIFIER;