12 lines
191 B
C
12 lines
191 B
C
|
#include "lexer.h"
|
||
|
#include "parser.h"
|
||
|
|
||
|
void main() {
|
||
|
int t;
|
||
|
while ((t = yylex()) != 0) {
|
||
|
printf("yylex=0x%x\n", t);
|
||
|
printf("yylval=%s\n", yylval.sym);
|
||
|
}
|
||
|
printf("Byebye!");
|
||
|
}
|