Closed Hyldrean closed 4 years ago
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 ;)
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