forked from jasder/antlr
Fix incorrect reinterpretation of ReferenceToATN test
This commit is contained in:
parent
0fcba25d4e
commit
ae52f2708a
|
@ -18,8 +18,8 @@ Rule() ::= "a"
|
|||
|
||||
grammar(grammarName) ::= <<
|
||||
grammar <grammarName>;
|
||||
a : (ID|ATN_)* ATN_? {<writeln("$text")>} ;
|
||||
a : (ID|ATN)* ATN? {<writeln("$text")>} ;
|
||||
ID : 'a'..'z'+ ;
|
||||
ATN_ : '0'..'9'+;
|
||||
ATN : '0'..'9'+;
|
||||
WS : (' '|'\n') -> skip ;
|
||||
>>
|
||||
|
|
Loading…
Reference in New Issue