diff --git a/parser/langParser.g4 b/parser/langParser.g4 index 4786708..22d0595 100644 --- a/parser/langParser.g4 +++ b/parser/langParser.g4 @@ -7,7 +7,7 @@ options { program: exp* EOF; -var_declaration: IDENTIFIER IDENTIFIER ASSIGN exp; +let_statement: IDENTIFIER IDENTIFIER ASSIGN exp; exp: exp TIMES exp #product | exp PLUS exp #sum