ivs)
;
privelement
: MULT
| IDENTIFIER
| MISSING { error(“Cannot….etc”); }
;
*From:* antlr-dev-boun...@antlr.org [mailto:antlr-dev-boun...@antlr.org] *On
Behalf Of *Mike Lischke
*Sent:* Friday, April 20, 2012 12:49 AM
*To:* ANTLR Mailing Mailing List
*Subject:* Re: [antlr-dev] Bug in C tar
Hey Jim,
> It is a problem with the code generation templates for all the targets (well,
> Java and C at least), someone did post a fix for it on the list, but it has
> not been issued as any formal patch yet.
Definitely not for C# because this code was taken from a grammar that works
well wi
AM
*To:* ANTLR Mailing Mailing List
*Subject:* [antlr-dev] Bug in C target generation
Jim,
with a rule like this:
privilege_level
:
(
first=MULT
| first=MULT DOT second=MULT
| first=IDENTIFIER DOT second=MULT
| first=IDENTIF
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 $firs