forked from jasder/antlr
playwith grammar
This commit is contained in:
parent
717af9c371
commit
799b7afc1c
|
@ -1,3 +1,5 @@
|
|||
parser grammar T;
|
||||
grammar T;
|
||||
|
||||
s : A | B ;
|
||||
s : (A | B) ;
|
||||
A : ('a'|'c');
|
||||
B : 'b' ;
|
||||
|
|
Loading…
Reference in New Issue