More than one entry to the grammar gives unclear error message
#38
Closed
opened 2 years ago by tbmreza
·
1 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
For example:
gives:
If I reorder the rule to last, it cries.
Is this expected?
Yes, this is the documented behavior of
parse
: "Parses a series of tokens according to the rules in the grammar, using the first rule of the grammar for the initial production".