From eead4c7f6e29955a1a9578904a95c6291e8057b5 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Wed, 8 Jul 2020 11:09:21 +0300 Subject: Fix printfchar test for -M. --- str_array.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'str_array.c') diff --git a/str_array.c b/str_array.c index c90f7861..84bd2f02 100644 --- a/str_array.c +++ b/str_array.c @@ -168,9 +168,11 @@ str_lookup(NODE *symbol, NODE *subs) // Special cases: // 1. The string was generated using CONVFMT. // 2. The string was from an unassigned variable. - // 3. The string was from an unassigned field. + // 3. The string was from a straight number, perniciously, from MPFR + // 4. The string was from an unassigned field. if ( subs->stfmt != STFMT_UNUSED || subs == Nnull_string + || (subs->flags & STRING) == 0 || (subs->flags & NULL_FIELD) != 0) { NODE *tmp; -- cgit v1.2.3