diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2019-04-21 18:02:30 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2019-04-21 18:02:30 +0300 |
commit | d3b5c776178a0b0680f984eab536c83089bbc92a (patch) | |
tree | cd8ddac13b54b47ddd2e52b58d5d7a88850c512d /interpret.h | |
parent | dfb4f3b18cc0490cf1db9dad021fce62a99443b5 (diff) | |
parent | 7760ee121f8f3a231f4d949819fb49025d840297 (diff) | |
download | egawk-d3b5c776178a0b0680f984eab536c83089bbc92a.tar.gz egawk-d3b5c776178a0b0680f984eab536c83089bbc92a.tar.bz2 egawk-d3b5c776178a0b0680f984eab536c83089bbc92a.zip |
Merge branch 'gawk-5.0-stable'
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 cc6e02af..478dc82a 100644 --- a/interpret.h +++ b/interpret.h @@ -46,7 +46,6 @@ unfield(NODE **l, NODE **r) (*l) = dupnode(*r); DEREF(*r); } - force_string(*l); } #define UNFIELD(l, r) unfield(& (l), & (r)) @@ -729,6 +728,8 @@ mod: unref(*lhs); r = POP_SCALAR(); UNFIELD(*lhs, r); + /* field variables need the string representation: */ + force_string(*lhs); } break; |