Skip to content

Commit

Permalink
Add test from @KvanTTT. This PR fixes antlr#3555 for non-Java targets.
Browse files Browse the repository at this point in the history
  • Loading branch information
parrt committed Mar 18, 2022
1 parent 14ce0cd commit 9b6db61
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[type]
Lexer

[grammar]
lexer grammar L;
T_FFFF: 'FFFF' -> type(65535);

[input]
FFFF

[output]
[@0,0:3='FFFF',<65535>,1:0]
[@1,4:3='<EOF>',<-1>,1:4]

[skip]
Java

0 comments on commit 9b6db61

Please sign in to comment.