[antlr-interest] Resolving conflict between keyword and identifier
SAGAR BIYANI
sagarbiyani at yahoo.com
Sun Feb 10 19:40:57 PST 2002
Hi,
I am writing grammar for SQL. Trying to resolve
conflict between keyword and identifier through the
following rules:
keyword: "access" |"admin" ... ;
id: ID |keyword;
The above rule works only if the keywords defined in
the keyword rule is less. If it exceeds above certain
limit(approx 100), ANTLR generates wrong code in the
parsers (starts ignoring predicates) and hence the
whole thing is not working. Anybody know how to
resolve this problem?
Thanks in advance.
-Sagar
__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list