[antlr-interest] Linear approximate lookahead question
Ingo Maier
i.maier at gmx.de
Wed Aug 17 06:34:24 PDT 2005
Hi,
due to linear approximate lookahead the following grammar gives a
non-determinism warning:
a: z S P;
b: z T Q;
z: P (T P)*;
because z can be followed by (T Q | S P) which leads to a possible T P
in the approximation.
How can I resolve this, besides pasting z into a and b rules? Sorry, if
this has been asked before.
Thanks,
Ingo
More information about the antlr-interest
mailing list