This commit is contained in:
anon
2024-07-16 19:40:34 +02:00
parent 0d7ab59c1a
commit 6d4d82ccc2
7 changed files with 47 additions and 18 deletions

View File

@ -199,8 +199,8 @@ xor { return ITXOR; }
/* --- Instrunctions end here --- */
<IN_END>{
program { BEGIN INITIAL; free(scope); scope = NULL; return END_PROGRAM; }
procedure { BEGIN INITIAL; free(scope); scope = NULL; return END_PROCEDURE; }
program { BEGIN INITIAL; return END_PROGRAM; }
procedure { BEGIN INITIAL; return END_PROCEDURE; }
repeat { BEGIN INITIAL; return END_REPEAT; }
if { BEGIN INITIAL; return END_IF; }
machine { BEGIN INITIAL; return END_MACHINE; }