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-4020-g5288670


From: Arnold Robbins
Subject: [SCM] gawk branch, gawk-5.1-stable, updated. gawk-4.1.0-4020-g5288670
Date: Thu, 9 Jul 2020 12:01:37 -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  528867035383b29a901b6d6f13052abe8071b158 (commit)
      from  124712be30d752324e51f0e6b8e92c7e1b59bcc7 (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=528867035383b29a901b6d6f13052abe8071b158

commit 528867035383b29a901b6d6f13052abe8071b158
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Thu Jul 9 19:01:25 2020 +0300

    Fix indirect call tests for MPFR.

diff --git a/ChangeLog b/ChangeLog
index d0b5bd3..1ce225b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,11 @@
        * debug.c (do_eval): Preserve DO_MPFR flag in do_flags before
        parsing the string to be evaluated.
 
+       Fix indirect call tests for MPFR:
+
+       * awkgram.y (lookup_builtin): Only return the MPFR builtin
+       function if the pointer is not NULL.
+
 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/awkgram.y b/awkgram.y
index ec917c3..f78fe47 100644
--- a/awkgram.y
+++ b/awkgram.y
@@ -6476,7 +6476,7 @@ lookup_builtin(const char *name)
                return (builtin_func_t) do_sub;
 
 #ifdef HAVE_MPFR
-       if (do_mpfr)
+       if (do_mpfr && tokentab[mid].ptr2 != NULL)
                return tokentab[mid].ptr2;
 #endif
 

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

Summary of changes:
 ChangeLog | 5 +++++
 awkgram.y | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
gawk



reply via email to

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