summaryrefslogtreecommitdiff
path: root/symbol.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-01-03 22:28:39 +0200
committerArnold D. Robbins <arnold@skeeve.com>2018-01-03 22:28:39 +0200
commita5f04737b4a5fce89ab7bd9264ba5b4813473121 (patch)
tree1fdc4b049f5eab73b15af306069a52eac110934b /symbol.c
parentc182937de92dc028a12a6c9350773dced1841751 (diff)
downloadgawk-a5f04737b4a5fce89ab7bd9264ba5b4813473121.tar.gz
Changes to ROUNDMODE now invalidate cached string values.
Diffstat (limited to 'symbol.c')
-rw-r--r--symbol.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/symbol.c b/symbol.c
index 55b17397..797b5ec4 100644
--- a/symbol.c
+++ b/symbol.c
@@ -3,7 +3,7 @@
*/
/*
- * Copyright (C) 1986, 1988, 1989, 1991-2015, 2017,
+ * Copyright (C) 1986, 1988, 1989, 1991-2015, 2017, 2018,
* the Free Software Foundation, Inc.
*
* This file is part of GAWK, the GNU implementation of the
@@ -653,6 +653,9 @@ check_param_names(void)
n.type = Node_val;
n.flags = STRING|STRCUR;
n.stfmt = STFMT_UNUSED;
+#ifdef HAVE_MPFR
+ n.strndmode = MPFR_round_mode;
+#endif
/*
* assoc_list() returns an array with two elements per awk array