%class sp_lex include <lex.h> //#define LEXDEBUG 1 include <iostream.h> include "yacc.tab.h" sep ("("|")"|",") [A-Z\_][A-Za-z0-9]* { return new token(VAR,yytext); } [a-z][A-Za-z0-9]* { return new token(ATOM,yytext); } {sep} { return new token(yytext[0],yytext); } [ \t\n] { }
Hush Online Technology
hush@cs.vu.nl
09/09/98 |
![]() |
![]() |