#include extern int yylval; yylex() { yylval = getchar(); if (yylval == EOF) return 0; return yylval; }