diff options
Diffstat (limited to 'awkgram.y')
-rw-r--r-- | awkgram.y | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1606,7 +1606,8 @@ common_exp // 1.5 "" # can't fold this if program mucks with CONVFMT. // See test #12 in test/posix.awk. - if ((n1->flags & (NUMBER|NUMINT)) != 0 || (n2->flags & (NUMBER|NUMINT)) != 0) + // Also can't fold if one or the other is translatable. + if ((n1->flags & (NUMBER|NUMINT|INTLSTR)) != 0 || (n2->flags & (NUMBER|NUMINT|INTLSTR)) != 0) goto plain_concat; n1 = force_string(n1); |