aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--debug.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 45c2de22..d0b5bd3a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2020-07-09 Arnold D. Robbins <arnold@skeeve.com>
+
+ Fix dbugeval2 test for MPFR.
+
+ * debug.c (do_eval): Preserve DO_MPFR flag in do_flags before
+ parsing the string to be evaluated.
+
2020-07-08 Arnold D. Robbins <arnold@skeeve.com>
* str_array.c (str_lookup): If a pure number, copy to a string. Fixes
diff --git a/debug.c b/debug.c
index 61e21a58..4ca93735 100644
--- a/debug.c
+++ b/debug.c
@@ -5602,7 +5602,7 @@ do_eval(CMDARG *arg, int cmd ATTRIBUTE_UNUSED)
ctxt->install_func = append_symbol; /* keep track of newly installed globals */
push_context(ctxt);
the_source = add_srcfile(SRC_CMDLINE, arg->a_string, srcfiles, NULL, NULL);
- do_flags = false;
+ do_flags &= DO_MPFR; // preserve this flag only
ret = parse_program(&code, true);
do_flags = save_flags;
remove_params(this_func);