-
-
Notifications
You must be signed in to change notification settings - Fork 411
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
[Merged by Bors] - Correctly parse consecutive semicolons #2533
Conversation
Test262 conformance changes
|
Codecov Report
@@ Coverage Diff @@
## main #2533 +/- ##
==========================================
- Coverage 50.16% 50.13% -0.03%
==========================================
Files 377 377
Lines 37469 37477 +8
==========================================
- Hits 18795 18789 -6
- Misses 18674 18688 +14
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice fix!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. 😄
bors r+ |
This Pull Request changes the following: - Do not skip consecutive semicolons while parsing a `StatementList`. - Expect semicolon in `LexicalDeclaration` and add an special case for `for` loop parsing. - Adjust `StatementList` compilation to skip empty statements. - Adjust/add tests to make sure consecutive semicolons are correctly parsed.
Pull request successfully merged into main. Build succeeded: |
This Pull Request changes the following:
StatementList
.LexicalDeclaration
and add an special case forfor
loop parsing.StatementList
compilation to skip empty statements.