[antlr-interest] Re: Is there an ANTLR trick/hack to specify "NEWLINE or EOF" in Lexer

micheal_jor <open.zone at virgin.net> open.zone at virgin.net
Wed Feb 5 15:41:59 PST 2003


> Cool.  Ok, so let's say EOF can be a real char.  What does this 
mean?
> 
> NONSENSE : (EOF)+ ;
> 
> Ter

That we'll be needing new error messages?. And diplomatic[1] skills 
to boot?

Micheal

[1] Unless "Thou qualling hedge-born coxcomb!" qualifies as a good 
error message. If so...http://www.pangloss.com/seidel/Shaker/?


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list