-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3889 from 1sand0s/Fixing_Reserve_Word_NULL_for_Cp…
…p_Targets Fixing reserve word NULL for cpp targets
- Loading branch information
Showing
5 changed files
with
23 additions
and
6 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
.../resources/org/antlr/v4/test/runtime/descriptors/LexerExec/ReservedWordsEscaping_NULL.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[notes] | ||
https://github.com/antlr/antlr4/pull/3889 | ||
|
||
[type] | ||
Lexer | ||
|
||
[grammar] | ||
lexer grammar L; | ||
|
||
NULL : ('N' | 'n')('U' | 'u')('L' | 'l')('L' | 'l') ; | ||
|
||
[input] | ||
NULL | ||
|
||
[output] | ||
[@0,0:3='NULL',<1>,1:0] | ||
[@1,4:3='<EOF>',<-1>,1:4] |
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
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