[antlr-interest] Stumped! Nondeterminism between...

Paul Snow paul at esnow.us
Wed Jun 1 11:19:16 PDT 2005


A new day dawns and all becomes clear... Here is what I needed for
the definition of COLUMN:

*COLUMN : (~('#' | '\'' | '"' | '/' | '\t'| ' ') | ('/' ~('*' | ' ' | 
'\t'| '/' | '\n' | '\r' | '\'' | '#'))) (COLUMN_CHAR)+ ;

*I had to prohibit COLUMN from starting out like either a STRING or a 
COMMENT.

Thanks for your help!  Just trying to phrase the question led to the answer!

Paul Snow
Policy Smart Applications
512 627 8841

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20050601/a34033e6/attachment-0001.html


More information about the antlr-interest mailing list