From 525fd21e7d5ffd322d895f4c29013247ffb63bef Mon Sep 17 00:00:00 2001 From: Danilo Pedraza Date: Thu, 29 Feb 2024 10:16:15 -0500 Subject: [PATCH] change rule name in parser grammar --- parser/langParser.g4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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