Skip to content

Commit

Permalink
change rule name in parser grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
danilopedraza committed Feb 29, 2024
1 parent f915e29 commit 525fd21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser/langParser.g4
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 525fd21

Please # to comment.