Jim,

with a rule like this:

privilege_level
        :       
        (
        first=MULT
          | first=MULT DOT second=MULT
          | first=IDENTIFIER DOT second=MULT
          | first=IDENTIFIER DOT second=IDENTIFIER
          | first=IDENTIFIER
        )       -> ^( PRIVILEGE_LEVEL $first $second? )
        ;

ANTLR generates this code:

        pANTLR3_COMMON_TOKEN    ;
        pANTLR3_COMMON_TOKEN    ;

               = NULL;
               = NULL;

which obviously does not compile. Is this a known problem? Any workaround 
possible?

Mike
-- 
www.soft-gems.net

_______________________________________________
antlr-dev mailing list
[email protected]
http://www.antlr.org/mailman/listinfo/antlr-dev

Reply via email to