aboutsummaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index 850953f6..dbd1c9fb 100644
--- a/eval.c
+++ b/eval.c
@@ -1302,6 +1302,15 @@ setup_frame(INSTRUCTION *pc)
r->prev_array = m;
break;
+ case Node_var:
+ /* Untyped (Node_var_new) variable as param became a
+ * scalar during evaluation of expression for a
+ * subsequent param.
+ */
+ r->type = Node_var;
+ r->var_value = Nnull_string;
+ break;
+
case Node_val:
r->type = Node_var;
r->var_value = m;