aboutsummaryrefslogtreecommitdiffstats
path: root/ext.c
diff options
context:
space:
mode:
authorjohn haque <j.eh@mchsi.com>2012-04-18 04:53:17 -0500
committerjohn haque <j.eh@mchsi.com>2012-04-18 04:53:17 -0500
commitc3033f11415c6323ad6b4503c220d20d68c841a3 (patch)
tree8833cdfeeacdb20f6eb17965d0b6700cdfde9412 /ext.c
parent07e08a881ae177d3e3b7cfd2c5199443c6db3dd0 (diff)
downloadegawk-c3033f11415c6323ad6b4503c220d20d68c841a3.tar.gz
egawk-c3033f11415c6323ad6b4503c220d20d68c841a3.tar.bz2
egawk-c3033f11415c6323ad6b4503c220d20d68c841a3.zip
Polish array handling code.
Diffstat (limited to 'ext.c')
-rw-r--r--ext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext.c b/ext.c
index 0f56849d..f2919db7 100644
--- a/ext.c
+++ b/ext.c
@@ -213,7 +213,7 @@ get_actual_argument(int i, int optional, int want_array)
if (t->type == Node_var_new) {
if (want_array)
- return get_array(t, FALSE);
+ return force_array(t, FALSE);
else {
t->type = Node_var;
t->var_value = dupnode(Nnull_string);