diff --git a/antlr4-testgen-maven-plugin/resources/org/antlr4/runtime/test/templates/ParserExec/ReferenceToATN.stg b/antlr4-testgen-maven-plugin/resources/org/antlr4/runtime/test/templates/ParserExec/ReferenceToATN.stg index 02b348a81..ce8b400ee 100644 --- a/antlr4-testgen-maven-plugin/resources/org/antlr4/runtime/test/templates/ParserExec/ReferenceToATN.stg +++ b/antlr4-testgen-maven-plugin/resources/org/antlr4/runtime/test/templates/ParserExec/ReferenceToATN.stg @@ -18,8 +18,8 @@ Rule() ::= "a" grammar(grammarName) ::= << grammar ; -a : (ID|ATN_)* ATN_? {} ; +a : (ID|ATN)* ATN? {} ; ID : 'a'..'z'+ ; -ATN_ : '0'..'9'+; +ATN : '0'..'9'+; WS : (' '|'\n') -> skip ; >>