diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | debug.c | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -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 @@ -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); |