aboutsummaryrefslogtreecommitdiffstats
path: root/interpret.h
diff options
context:
space:
mode:
Diffstat (limited to 'interpret.h')
-rw-r--r--interpret.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/interpret.h b/interpret.h
index 15d77522..bb7cba96 100644
--- a/interpret.h
+++ b/interpret.h
@@ -26,10 +26,7 @@
#define UNFIELD(l, r) \
{ \
/* if was a field, turn it into a var */ \
- if ((r->flags & FIELD) == 0) { \
- l = r; \
- } else if (r->valref == 1) { \
- r->flags &= ~FIELD; \
+ if ((r->flags & FIELD) == 0 || r->valref == 1) { \
l = r; \
} else { \
l = dupnode(r); \