You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can give a look. Sorry I never finished what I started. To be honest I don't remember much, except I was pretty sure I documented all edge cases at the time. But I'll try again.
Describe the bug
Managed to create a stack overflow by avoiding the "anti-left-recursive" check.
To Reproduce
expr = { expr ~ infix ~ expr }
)expr = { !(EOI) ~ expr ~ infix ~ expr }
)pest_derive
does not trigger left-recursion, and let you construct a left-recursive parser.Expected behavior
pest-derive
should ignore predicates for checking left-recursion, since those don't consume any character.The text was updated successfully, but these errors were encountered: