fixed bug 362: preprocessor not preserving line numbers
[org.ibex.core.git] / src / org / ibex / Template.java
index aa190b3..41c23aa 100644 (file)
@@ -191,7 +191,6 @@ public class Template {
                 // GROSS hack
                 try {
                     t.prev = (Template)t.ibex.resolveString(tagname, false).call(null, null, null, null, 9999);
-                    if (t.prev == null) throw new JSExn("template " + tagname + " not found");
                 } catch (Exception e) {
                     Log.error(Template.class, e);
                 }