[antlr-interest] Tokens as keywords
Gavin Lambert
antlr at mirality.co.nz
Sun May 4 12:46:16 PDT 2008
At 04:30 5/05/2008, Jim Idle wrote:
>Whether you need the predicate depends on the presence of
optional
>identifiers that can be keywords. You need the predicate to
avoid a
>warning saying that the upcoming keyword is ambiguous and
assuming
>that the language expects it to be resolved this way.
Doesn't ANTLR simply drop predicates on the final alt,
though? (Except when backtracking is enabled.)
More information about the antlr-interest
mailing list