tweak
This commit is contained in:
parent
9c44939f6a
commit
21a97e4ead
|
@ -1,13 +1,3 @@
|
|||
grammar T;
|
||||
|
||||
//if new ArrayList<String>() {{ add(1); }} else return;
|
||||
|
||||
s : a | b ;
|
||||
a : c ID ;
|
||||
b : c INT ID ;
|
||||
c : INT
|
||||
|
|
||||
;
|
||||
INT : [0-9]+ ;
|
||||
ID : [a-z]+ ;
|
||||
WS : [ \r\t\n]+ -> skip ;
|
||||
s : ({}A|B|C)? ;
|
||||
|
|
Loading…
Reference in New Issue