This commit is contained in:
Terence Parr 2013-01-21 11:10:49 -08:00
parent 9c44939f6a
commit 21a97e4ead
1 changed files with 1 additions and 11 deletions

View File

@ -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)? ;