peggyjs / peggy

Peggy: Parser generator for JavaScript
https://peggyjs.org/
MIT License
906 stars 64 forks source link

Fix #379. #467

Closed hildjj closed 6 months ago

hildjj commented 6 months ago

Move reportInfiniteRecursion to prepare phase, ensure that it doesn't keep going when it finds an error.