Sunday, February 10, 2002 10:35 PM
We have a rule as follows.....
rule: (id DOT id)=> id DOT id
When we compile the grammar, the generated code does not
evaluate the syntactic predicate (id dot id).
Always it is looking for the first alternate. So if just id is given,
the parser throws error saying dot is needed.
This error occurs only if my keyword rule is having more
than 125 alternates.
We noted that the generated bitset for the keyword varies
between 125 and 126 alternates. This is affecting the generated
code to check the syntactic predicate.
Has anybody faced this problem?
Any help regarding this will be appreciated.
Re: bug or problem with syntactic predicate evaluation
Tuesday, February 12, 2002 12:11 AM