diff options
Diffstat (limited to 'ext.c')
-rw-r--r-- | ext.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,7 +7,7 @@ */ /* - * Copyright (C) 1995 - 2001, 2003-2014, 2016-2020, + * Copyright (C) 1995 - 2001, 2003-2014, 2016-2020, 2022, * the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the @@ -200,7 +200,7 @@ get_actual_argument(NODE *t, int i, bool want_array) pc = TOP()->code_ptr; /* Op_ext_builtin instruction */ fname = (pc + 1)->func_name; - if (t->type == Node_var_new) { + if (t->type == Node_var_new || t->type == Node_elem_new) { if (want_array) return force_array(t, false); else { |