How to disambiguate these two grammar rules #1142
Replies: 1 comment
-
It turns out that it's the guard condition
fixed the problem. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have two grammar that is intended to support JSON-like syntax. It has two grammar rules that the parser finds to be ambiguous. The first rule is intended to specify a field name and value:
The second rule is intended to specify a column name and its data type:
The parser seems to always match the
FieldMember
rule where I want it to match theIsTerm
rule.How should I go about disambiguating these two rules?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions