-
Notifications
You must be signed in to change notification settings - Fork 590
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #3844 Brackets and parentheses don't have special meaning nor do they group expressions within token strings. They may appear in unbalanced numbers. This commit therefore removes pushing dedicated contexts on stack if ( or [ is matched. According to https://dlang.org/spec/lex.html#token_strings nested braces are however valid. Thus keep pushing a context if { is matched.
- Loading branch information
Showing
2 changed files
with
50 additions
and
10 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