Fix incorrect reinterpretation of ReferenceToATN test

This commit is contained in:
Sam Harwell 2015-05-22 15:38:34 -05:00
parent 0fcba25d4e
commit ae52f2708a
1 changed files with 2 additions and 2 deletions

View File

@ -18,8 +18,8 @@ Rule() ::= "a"
grammar(grammarName) ::= << grammar(grammarName) ::= <<
grammar <grammarName>; grammar <grammarName>;
a : (ID|ATN_)* ATN_? {<writeln("$text")>} ; a : (ID|ATN)* ATN? {<writeln("$text")>} ;
ID : 'a'..'z'+ ; ID : 'a'..'z'+ ;
ATN_ : '0'..'9'+; ATN : '0'..'9'+;
WS : (' '|'\n') -> skip ; WS : (' '|'\n') -> skip ;
>> >>