gawk-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] gawk branch, gawk-5.1-stable, updated. gawk-4.1.0-4019-g124712b


From: Arnold Robbins
Subject: [SCM] gawk branch, gawk-5.1-stable, updated. gawk-4.1.0-4019-g124712b
Date: Thu, 9 Jul 2020 08:28:35 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".

The branch, gawk-5.1-stable has been updated
       via  124712be30d752324e51f0e6b8e92c7e1b59bcc7 (commit)
      from  2a3d876938d39d03cf563d1bd8382c316839c08d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=124712be30d752324e51f0e6b8e92c7e1b59bcc7

commit 124712be30d752324e51f0e6b8e92c7e1b59bcc7
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Thu Jul 9 15:28:19 2020 +0300

    Fix dbugeval2 test for -M.

diff --git a/ChangeLog b/ChangeLog
index 45c2de2..d0b5bd3 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 61e21a5..4ca9373 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);

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog | 7 +++++++
 debug.c   | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
gawk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]