-
Notifications
You must be signed in to change notification settings - Fork 269
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#switch #on PR post-merge adjustments:
- Reorganized how #case/#on/#default is parsed in JavaCC, mostly to achieve better error messages (also I guess it's also easier to follow). - Reorganized SwitchBlock to branch out for the #switch+#case and the #switch+#on logic earlier (less checks on runtime, also maybe easier to follow). - Adjusted error message wording - Added much more test cases - Manual updates for #on, and added version history entry
- Loading branch information
Showing
6 changed files
with
449 additions
and
129 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
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
Oops, something went wrong.