-
Notifications
You must be signed in to change notification settings - Fork 621
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for labels with no statement (#562)
* Add possibility to omit semicolon in labeled statement * Add extra rule to properly parse semicolons so that the ASTs remain equal. Add test corroborating equality of ASTs * Remove unnecesary rule for labeled statements * Update label test to check the structure of the AST --------- Co-authored-by: Ignacio Tiraboschi <ignacio.tiraboschi@eclypsium.com>
- Loading branch information
1 parent
42b5423
commit 7ae671d
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters