diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2020-07-09 15:28:19 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2020-07-09 15:28:19 +0300 |
commit | 124712be30d752324e51f0e6b8e92c7e1b59bcc7 (patch) | |
tree | b525553db42d6e09a6e99cce5f7a22edce37e7d4 | |
parent | 2a3d876938d39d03cf563d1bd8382c316839c08d (diff) | |
download | egawk-124712be30d752324e51f0e6b8e92c7e1b59bcc7.tar.gz egawk-124712be30d752324e51f0e6b8e92c7e1b59bcc7.tar.bz2 egawk-124712be30d752324e51f0e6b8e92c7e1b59bcc7.zip |
Fix dbugeval2 test for -M.
-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); |