com-lihaoyi / fastparse

Writing Fast Parsers Fast in Scala
https://com-lihaoyi.github.io/fastparse
MIT License
1.09k stars 164 forks source link

Fix handling of terminals in opaque #278

Closed lihaoyi closed 1 year ago

lihaoyi commented 1 year ago

We need to manually backtrack any terminals that are seen in a .opaque parser, since it's meant to be opaque