[antlr-interest] "<<" character in HTML -'s PCDATA
sachin_sawant10
sachin_sawant10 at yahoo.com
Wed May 29 06:23:02 PDT 2002
I am working with HTML grammer given in antlr examples. I want to
include "<<" character in PCDATA token.
I changed PCDATA rule to -
PCDATA
: (
options {
generateAmbigWarnings=false;
}
: '\r' '\n' {newline();}
| '\r' {newline();}
| '\n' {newline();}
| "<<"
| ~('<'|'\n'|'\r'|'"'|'>')
)+
;
but I get "lexical nondeterminism" errors.
How do I solve this problem?
Regards
Sachin
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list