[antlr-interest] predicate, uh?: bug in c-grammar

John D. Mitchell johnm-antlr at non.net
Thu May 26 22:42:55 PDT 2005


>>>>> "Davin" == Davin McCall <davmac at deakin.edu.au> writes:
[...]

> Not sure if it applies in this particular case, but often things are done
> that way to make precedence work. If this is the case then "castExpr"
> should be interpreted as a rule matching "any expression whose precedence
> is equal to or higher than a cast".

Exactly so.

IIRC, there are also some potentially odd sounding lingo used because
that's the terms used in the C standard document.

Thanks,
	John


More information about the antlr-interest mailing list