You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected result: It is a valid Peggy grammar, since the separation of its rules is not ambiguous. Actual result: It is not a valid Peggy grammar.
This happens because Peggy does not accept duplicated semicolons. I suppose not fixing this could be justified with the reasoning that duplicated semicolons are almost certainly a mistake on the part of the programmer, but I wanted to at least point out this limitation.
The text was updated successfully, but these errors were encountered:
This one I might be open to changing. However, I want to make sure I can capture the extra semis in peggy-eslint-parser first. Will leave this open to discussion.
Steps to reproduce: Parse the following grammar:
Expected result: It is a valid Peggy grammar, since the separation of its rules is not ambiguous.
Actual result: It is not a valid Peggy grammar.
This happens because Peggy does not accept duplicated semicolons. I suppose not fixing this could be justified with the reasoning that duplicated semicolons are almost certainly a mistake on the part of the programmer, but I wanted to at least point out this limitation.
The text was updated successfully, but these errors were encountered: