projects
/
org.ibex.core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed bug 362: preprocessor not preserving line numbers
[org.ibex.core.git]
/
src
/
org
/
ibex
/
Ibex.java
diff --git
a/src/org/ibex/Ibex.java
b/src/org/ibex/Ibex.java
index
bd337f1
..
a5a2e85
100644
(file)
--- a/
src/org/ibex/Ibex.java
+++ b/
src/org/ibex/Ibex.java
@@
-348,6
+348,7
@@
public final class Ibex extends JS.Cloneable {
if (nargs != 1 && nargs != 9999) throw new JSExn("FIXME can only call with one arg");
getStatic();
if (t == null) throw new JSExn("No such template " + parentkey);
+ if (nargs == 9999) return t;
t.apply((Box)a);
return a;
}