improved code generation and fixed emitter symbol table problem
[charm.git] / src / langs / charj / src / charj / translator / Translator.java
index 2949e0a347d0504bb83dda1ef1f964fa1ee50214..9ceb66dc2dd82c228ad1d0cca2f049020d209d73 100644 (file)
@@ -127,7 +127,7 @@ public class Translator {
         StringTemplateGroup templates = getTemplates(templateFile);
         emitter.setTemplateLib(templates);
         StringTemplate st = 
-            (StringTemplate)emitter.charjSource(m).getTemplate();
+            (StringTemplate)emitter.charjSource(m_symtab, m).getTemplate();
         return st.toString();
     }