diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2019-01-20 21:42:36 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2019-01-20 21:42:36 +0200 |
commit | 5766636f7bb7eb6d8fa9fd1b097ca74329062173 (patch) | |
tree | dc94246ac43a8caa39816d78c1433b39cbcca9ff /interpret.h | |
parent | 7560c312229e5967ff1b479b8ced6d3e8e99dc37 (diff) | |
download | egawk-5766636f7bb7eb6d8fa9fd1b097ca74329062173.tar.gz egawk-5766636f7bb7eb6d8fa9fd1b097ca74329062173.tar.bz2 egawk-5766636f7bb7eb6d8fa9fd1b097ca74329062173.zip |
Cleanups for assoc_set.
Diffstat (limited to 'interpret.h')
-rw-r--r-- | interpret.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/interpret.h b/interpret.h index 53abadcb..e9896672 100644 --- a/interpret.h +++ b/interpret.h @@ -310,7 +310,8 @@ uninitialized_scalar: t2 = force_string(t2); fatal(_("attempt to use scalar `%s[\"%.*s\"]' as an array"), array_vname(t1), (int) t2->stlen, t2->stptr); - } + } else + DEREF(t2); PUSH(r); break; |