summaryrefslogtreecommitdiff
path: root/str_array.c
diff options
context:
space:
mode:
Diffstat (limited to 'str_array.c')
-rw-r--r--str_array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/str_array.c b/str_array.c
index 101ad0b9..08704312 100644
--- a/str_array.c
+++ b/str_array.c
@@ -217,7 +217,7 @@ str_lookup(NODE *symbol, NODE *subs)
b->ahname = subs;
b->ahname_str = subs->stptr;
b->ahname_len = subs->stlen;
- b->ahvalue = new_array_element();
+ b->ahvalue = dupnode(Nnull_string);
b->ahcode = code1;
return & (b->ahvalue);
}