Skip to content

Commit

Permalink
Add ListLabelInsideClosure.txt test for antlr#2016 (not fixed)
Browse files Browse the repository at this point in the history
  • Loading branch information
KvanTTT committed Aug 23, 2022
1 parent 1b43f91 commit 72a53b3
Showing 1 changed file with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[notes]
Template rendering error, https://github.com/antlr/antlr4/issues/2016

[type]
Parser

[grammar]
grammar Test;

r
: args+=r (op=PLUS args+=r)+
| IDENTIFIER
;
PLUS : '+';
IDENTIFIER : [a-zA-Z_][a-zA-Z0-9_]*;

[start]
r

[input]
a+b

0 comments on commit 72a53b3

Please sign in to comment.