fix a copy & paste blunder
diff --git a/Source/Modules/javascript.cxx b/Source/Modules/javascript.cxx
index d39868c..71950d9 100644
--- a/Source/Modules/javascript.cxx
+++ b/Source/Modules/javascript.cxx
@@ -1296,7 +1296,6 @@
if (tm != nullptr) {
Replaceall(tm, "$input", arg);
- Setattr(p, "emit:input", arg);
Printf(wrapper->code, "%s\n", tm);
}
@@ -1586,7 +1585,7 @@
for (p = parms; p;) {
tm = emitCheckTypemap(n, p, wrapper, Getattr(p, "emit:input"));
if (tm) {
- p = Getattr(p, "tmap:in:next");
+ p = Getattr(p, "tmap:check:next");
} else {
p = nextSibling(p);
}
@@ -2246,7 +2245,7 @@
for (p = parms; p;) {
tm = emitCheckTypemap(n, p, wrapper, Getattr(p, "emit:input"));
if (tm) {
- p = Getattr(p, "tmap:in:next");
+ p = Getattr(p, "tmap:check:next");
} else {
p = nextSibling(p);
}