From 6bba9894d59a55fa94d19c81eb72e02c98659900 Mon Sep 17 00:00:00 2001 From: arookas Date: Mon, 22 Feb 2016 20:07:21 -0500 Subject: [PATCH] Removed const_definition Going to make constants a modifier for the variable symbol instead of their own keyword. --- ssc/sunscript.grammar | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ssc/sunscript.grammar b/ssc/sunscript.grammar index c32b51d..9cc582b 100644 --- a/ssc/sunscript.grammar +++ b/ssc/sunscript.grammar @@ -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;