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

Grammar with token "constructor" fails to generate #520

Closed
PaulGVernon opened this issue Jun 18, 2024 · 2 comments · Fixed by #521
Closed

Grammar with token "constructor" fails to generate #520

PaulGVernon opened this issue Jun 18, 2024 · 2 comments · Fixed by #521
Assignees

Comments

@PaulGVernon
Copy link

I noticed that the following grammar

a = "constructor"

fails in version 4.0.2 with

error parsing grammar
Cannot read properties of undefined (reading 'length')

This was not the case in version 3.0.2

@hildjj hildjj self-assigned this Jun 19, 2024
@hildjj
Copy link
Contributor

hildjj commented Jun 19, 2024

Validated, and I see where the problem is. Investigating solutions.

hildjj added a commit to hildjj/peggy that referenced this issue Jun 19, 2024
hildjj added a commit to hildjj/peggy that referenced this issue Jun 19, 2024
hildjj added a commit to hildjj/peggy that referenced this issue Jun 19, 2024
@hildjj
Copy link
Contributor

hildjj commented Jun 19, 2024

I'll do a release later today, after fixing #513 and #522.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants