aboutsummaryrefslogtreecommitdiffstats
path: root/awkgram.y
diff options
context:
space:
mode:
Diffstat (limited to 'awkgram.y')
-rw-r--r--awkgram.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/awkgram.y b/awkgram.y
index c427a5b7..2a141d35 100644
--- a/awkgram.y
+++ b/awkgram.y
@@ -1154,7 +1154,7 @@ simple_stmt
if ($3 != NULL) {
NODE *n = $3->nexti->nexti->memory;
- if (! iszero(n))
+ if ((n->flags & (STRING|STRCUR)) != 0 || ! iszero(n))
goto regular_print;
bcfree($3->lasti); /* Op_field_spec */