What does the symbols in Ambiguous Alternatives Detected error mean? #2089
-
Hi, I am using Langium which parse document based on Chevrotain. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @durianwaffle, this specific error comes from the chevrotain allstar plugin that enables unlimited lookahead. In particular, this error means that the 12th and 14th of your first alternative within the |
Beta Was this translation helpful? Give feedback.
Hey @durianwaffle,
this specific error comes from the chevrotain allstar plugin that enables unlimited lookahead. In particular, this error means that the 12th and 14th of your first alternative within the
Primary
parser rule are impossible to differentiate from one another. Can you share your grammar? Otherwise it's impossible to help you in any meaningful way.