Welcome to Scribd!
Academic Documents
Professional Documents
Culture Documents
Hobbies & Crafts Documents
Personal Growth Documents
h> #define YYSTYPE int extern YYSTYPE yylval; %} op "+"|"-"|"*"|"/" %% [0-9]+ {yylval=atoi(yytext); return id; } {op} { return yytext[0]; } \n { return(0); } . { return err; }