[antlr-interest] Re: amount of reserved keywords

gertgrossmann Gert.Grossmann50 at epost.de
Tue Jun 25 01:32:51 PDT 2002


> The easiest way to work around this, is to specify an
> "identifier" rule, like:
> 
>     identifier: IDENTIFIER | keyword ;
>     keyword: "NATURAL" | "JOIN" | ...... etc.
> 

This is not a solution, because with the parser rule 'keyword'
all words "NATURAL", "JOIN", ... becomes reserved keywords :)
A good way would it be, if ANTLR gives the posibility to 
say, "attention, this is a non reserved keyword".


regards,
Gert


 

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



More information about the antlr-interest mailing list