Minor tweaks to template

This commit is contained in:
Peter Boyer 2015-12-22 18:57:14 -06:00
parent bd35305bc8
commit d6b1041224
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ type <parser.name> struct {
grammarFileName string
}
func New<parser.name>(input TokenStream) <parser.name> {
func New<parser.name>(input antlr4.TokenStream) *<parser.name> {
var decisionToDFA = make([]antlr4.DFA,len(deserializedAtn.DecisionToState))
var sharedContextCache = antlr4.NewPredictionContextCache()

View File

@ -186,7 +186,7 @@ public class GoTarget extends Target {
return ((String)o).replace("\\u", "\\u005Cu");
}
return super.toString(o, formatString, locale).replace("\\'", "\'");
return super.toString(o, formatString, locale);
}
}