-
Notifications
You must be signed in to change notification settings - Fork 32
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
Wrong positions with GLRParser and EMPTY #110
Labels
Comments
Thanks for the report. Could you make a PR with failing regression test? |
It is the very first time I use py.test and I do a pull request. I hope all is fine. |
@Hyldrean It's perfect. Thanks! |
Fixed on master |
Thanks ! It works for me ;) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The start/end positions are sometimes wrong when we use the GLRParser and grammar with EMPTY. NB: I couldn't reproduce the bug with the LR Parser.
What I Did
Here is a minimal working example
It gives the tree
One can easily see that it's rather
The text was updated successfully, but these errors were encountered: