-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V8 crashes when trying to parse a list #357
Comments
The reason in that _ "whitespace"
- = [ \t\n\r]* {
+ = [ \t\n\r] {
return ''
} It seems an oversight from my side. We should run peggy/lib/compiler/passes/report-infinite-repetition.js Lines 28 to 53 in 00855f6
|
Can we get this into a 3.0.1 release in the next day or two, or should I go ahead without it? |
I want to have a look as soon as possible on provided code, but . . . i have difficulties to understand what is written and why :((( |
@Mingun I'd like to get this fixed before the release, if you have the time. |
I've got it. When I tried it the first time, I put the check in the wrong place. Adding tests now. |
* main: (21 commits) Update CHANGELOG.md Update version number & rebuild Update dependencies Update test/unit/compiler/passes/report-infinite-repetition.spec.js Fixes peggyjs#357. Do not allow infinite recursion in repetition delimiter. Update changelog Allow extra semicolons between rules. Fix an error in the code generator for "repeated" node Update changelog Fixes peggyjs#329 Update changelog Fixes peggyjs#359. Clarifies documentation about reserved words. Fix more HTML indentation. Test that the generated parser also works without errors Remove use of expect.to.not.throw() Add Rene Saarsoo to AUTHORS Typo in test description Add test to ensure special non-reserved keywords are allowed Comment out unnecessary reserved words Fixes peggyjs#347. Makes $ invalid as an identifier start character. ...
Hello
V8 crashes when trying to use following grammar:
my node: v18.7.0
chrome: Version 110.0.5481.177 (Official Build) (64-bit)
I suspect that crash happens upon successful mach.
@Mingun
The text was updated successfully, but these errors were encountered: