This commit is contained in:
parent
fda1fc3ca7
commit
b56cd688ae
16 changed files with 1569 additions and 849 deletions
|
@ -68,17 +68,22 @@ YYSTYPE& yylval = *(YYSTYPE*)yyparserptr->yylvalptr;
|
|||
stop {return STOP;}
|
||||
if {return IF;}
|
||||
else {return ELSE;}
|
||||
while {return WHILE;}
|
||||
do {return DO;}
|
||||
pause {return PAUSE;}
|
||||
print {return PRINT;}
|
||||
= {return ASSIGN;}
|
||||
== {return EQUAL;}
|
||||
!= {return NOTEQUAL;}
|
||||
\< {return LESSTHAN;}
|
||||
\> {return GREATERTHAN;}
|
||||
\+ {return PLUS;}
|
||||
\- {return SUBTRACT;}
|
||||
; {return END_STMT;}
|
||||
\( {return OPEN_PAR;}
|
||||
\) {return CLOSE_PAR;}
|
||||
\{ {return BEGIN_CS;}
|
||||
\} {return END_CS;}
|
||||
\} {return END_CS;}
|
||||
, {return COMMA;}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue