If Done (and todo cleaned up)

This commit is contained in:
Raphaël LACROIX 2023-04-20 10:23:57 +02:00
parent 358e98d6d6
commit 6927b7da82

2
yacc.y
View file

@ -114,8 +114,6 @@ IfStatement : tIF Condition IfStatement1 InnerBlock tELSE {
int current = getCurrentLineNumber(); printf("current Line %d", current); setJumpLine($3, current); int current = getCurrentLineNumber(); printf("current Line %d", current); setJumpLine($3, current);
}; };
// todo it does either one of the two but not the two
WhileStatement : tWHILE {} WhileStatement : tWHILE {}
Condition InnerBlock {}; Condition InnerBlock {};