Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IncompleteParseError #238

Open
TheBicPen opened this issue Sep 12, 2023 · 0 comments
Open

IncompleteParseError #238

TheBicPen opened this issue Sep 12, 2023 · 0 comments

Comments

@TheBicPen
Copy link

I'm getting an IncompleteParseError creating a Grammar object on a very simple grammar that seems valid to me:

IncompleteParseError
Rule 'rules' matched in its entirety, but it didn't consume all the text. The non-matching portion of the text begins with '/ "5"
    ' (line 2, column 21).

And the grammar:

Grammar(r"""
    value = "[" "]" / "5"
    """
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants