[stringtemplate-interest] templateLib in imported grammar

Terence Parr parrt at cs.usfca.edu
Thu Jun 16 11:50:40 PDT 2011


Hi. can you call setTemplateLib on the subordinate?
Ter
On Jun 7, 2011, at 9:15 AM, alejandro.osso at integraware.com.br wrote:

> 
> Good morning to all! 
> 
> I have a root tree grammar R which imports another one A.  The root grammar finds the template group correctly, but the subordinate grammar does not; it seems to be looking for a "R_ATemplates" group. 
> 
> How can I tell the subordinate grammar to use the same template group as the root grammar? 
> 
> Thanks in advance. 
> 
> Kind regards, 
> 
> Alejandro Osso_______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org/mailman/listinfo/stringtemplate-interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20110616/77564cfc/attachment.html 


More information about the stringtemplate-interest mailing list