[stringtemplate-interest] [PATCH] STdaily stringtemplate-11-09-2007.17: Group hierarchy fix.
Zenaan Harkness
zen at freedbms.net
Mon Dec 10 18:47:26 PST 2007
On Mon, Dec 10, 2007 at 05:41:40PM -0800, Terence Parr wrote:
> Hi. I have played around. a definite bug here...can't decide best
> fix. Probably is to alter StringTemplateGroupLoader interface to have
>
> public StringTemplateGroup loadGroup(String groupName,
> Class templateLexer,
> StringTemplateGroup superGroup);
>
> because it can't parse superGroup w/o knowing template format.
> Hmm...worried about breaking code by changing the interface. Thoughts?
Just overload the method? Current one default to dollar lexer.
And deprecate the old interface.
Simple, yes?
> Oh, added the nameToGroupMap update too. thanks.
Very welcome.
Regards
Zen
--
Homepage: www.SoulSound.net -- Free Australia: www.UPMART.org
Please respect the confidentiality of this email as sensibly warranted.
More information about the stringtemplate-interest
mailing list