Closed kfsone closed 2 years ago
@kfsone, thanks for the report, but I can't reproduce it on the playground.
Also I am not able to reproduce it with peglint either.
Ah, sorry, try the input:
x=c
Thanks. I am now reproduce it.
This is actually not a infinite loop problem. This is caused by a Cut operator which doesn't belong to a PrioritizedChoice operator. I changed the title.
The following grammar causes the playground to lock into an infinite loop: