that error message sounds like it is coming from ANTLR not ST. Are you sure you are not using an action with % in it within an ANTLR grammar or something? Hmm…% by itself should be no problem without an escape in a group file.
does this happen at load time when you run ANTLR with an ObjC targeted grammar? T On Feb 2, 2012, at 8:58 AM, Alan Condit wrote: > In trying to build the error message string in group.g > I use: > msg = [NSString stringWithFormat:@"invalid character '\%c'", [input > LA:1]]; > but I get invalid StringTemplate %shorthand syntax '%c'. > > This is a valid format string. What is going on? > > Alan > --- > > Alan Condit > 1085 Tierra Ct. > Woodburn, OR 97071 > > Email -- acon...@ipns.com > Home-Office (503) 982-0906 > > _______________________________________________ > antlr-dev mailing list > antlr-dev@antlr.org > http://www.antlr.org/mailman/listinfo/antlr-dev _______________________________________________ antlr-dev mailing list antlr-dev@antlr.org http://www.antlr.org/mailman/listinfo/antlr-dev