aboutsummaryrefslogtreecommitdiffstats
path: root/awkgram.c
diff options
context:
space:
mode:
Diffstat (limited to 'awkgram.c')
-rw-r--r--awkgram.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/awkgram.c b/awkgram.c
index 235a430a..210be4d4 100644
--- a/awkgram.c
+++ b/awkgram.c
@@ -8764,6 +8764,9 @@ set_profile_text(NODE *n, const char *str, size_t len)
// Thanks and a tip of the hatlo to valgrind.
n->flags |= (NUMCONSTSTR|STRCUR);
n->stfmt = STFMT_UNUSED;
+#ifdef HAVE_MPFR
+ n->strndmode = MPFR_round_mode;
+#endif
}
return n;