%class lex //#define LEXDEBUG 1 include <iostream.h> include "yacc.tab.h" include "grammar/lex.h" [a-z]+ { cerr <<"A"<<endl; return token(A,yytext); } [A-Z]+ { cerr <<"B"<<endl; return token(B,yytext); } //main() { lex a; a(); }
Hush Online Technology
hush@cs.vu.nl
09/09/98 |
![]() |
![]() |