aboutsummaryrefslogtreecommitdiffstats
path: root/interpret.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2019-04-21 17:49:53 +0300
committerArnold D. Robbins <arnold@skeeve.com>2019-04-21 17:49:53 +0300
commit0c2d3fdf3d3cec1f2b276995ccb085f2c35ca95b (patch)
treef1324b9252b241b790bc6f1f4c28d486ffd99ddb /interpret.h
parentdf615d8f1afb1f4bfc2ca5e8fa629d5fba1c8a46 (diff)
downloadegawk-0c2d3fdf3d3cec1f2b276995ccb085f2c35ca95b.tar.gz
egawk-0c2d3fdf3d3cec1f2b276995ccb085f2c35ca95b.tar.bz2
egawk-0c2d3fdf3d3cec1f2b276995ccb085f2c35ca95b.zip
Speed field assignment back up.
Diffstat (limited to 'interpret.h')
-rw-r--r--interpret.h3
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;