summaryrefslogtreecommitdiff
path: root/array.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 /array.c
parentc182937de92dc028a12a6c9350773dced1841751 (diff)
downloadgawk-a5f04737b4a5fce89ab7bd9264ba5b4813473121.tar.gz
Changes to ROUNDMODE now invalidate cached string values.
Diffstat (limited to 'array.c')
-rw-r--r--array.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/array.c b/array.c
index 4ad52c9c..5d953c04 100644
--- a/array.c
+++ b/array.c
@@ -3,7 +3,7 @@
*/
/*
- * Copyright (C) 1986, 1988, 1989, 1991-2014, 2016, 2017,
+ * Copyright (C) 1986, 1988, 1989, 1991-2014, 2016, 2018,
* the Free Software Foundation, Inc.
*
* This file is part of GAWK, the GNU implementation of the
@@ -716,6 +716,9 @@ value_info(NODE *n)
fprintf(output_fp, "FMT=\"%s\"",
n->stfmt == STFMT_UNUSED ? "<unused>"
: fmt_list[n->stfmt]->stptr);
+#ifdef HAVE_MPFR
+ fprintf(output_fp, ", RNDMODE=\"%c\"", n->strndmode);
+#endif
}
#undef PREC_NUM