[antlr-interest] literal tokens .. [revisited?]
Sriram Durbha
cintyram at yahoo.com
Mon Oct 14 12:28:11 PDT 2002
hi ,
i could not find the relevant information .. tho i followed the mails
in an earlier discussion ..
i have two keywords defined in the lexer as rules ;
and there are types also ..
like
in parser :
decl : "integral" type var_list ;
inlexer :
type :
"integer"
|"float"
;
i get a exception that e is expected but r is found .. and lexing stops
there..
both lexer and parser are in the same file; the main program uses just
the lexer ..
to diplay what tokens have been identified ..
; what did i do wrong?
/e
cheers
ram
__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list