gawk-diffs
[Top][All Lists]
Advanced

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

[SCM] gawk branch, feature/bool, updated. gawk-4.1.0-4313-g6fba98c


From: Arnold Robbins
Subject: [SCM] gawk branch, feature/bool, updated. gawk-4.1.0-4313-g6fba98c
Date: Mon, 3 May 2021 13:35:22 -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, feature/bool has been updated
       via  6fba98cc55aaba2b8819eaaca927c24c480cc332 (commit)
       via  2eb0932e9eb3a4a4ff05ab8831d7e89c2d554004 (commit)
       via  2b3f002533d3d7e7fa507ab9eb104fbdbcd6271b (commit)
      from  6f2c655186b7de2a95cca0403eb899dd2ab27c75 (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=6fba98cc55aaba2b8819eaaca927c24c480cc332

commit 6fba98cc55aaba2b8819eaaca927c24c480cc332
Merge: 2eb0932 6f2c655
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Mon May 3 20:35:04 2021 +0300

    Merge branch 'feature/bool' of ssh://git.sv.gnu.org/srv/git/gawk into 
feature/bool

diff --cc ChangeLog
index 7dbafcd,679d70a..688dd9b
--- a/ChangeLog
+++ b/ChangeLog
@@@ -1,9 -1,9 +1,15 @@@
 +2021-05-03         Arnold D. Robbins     <arnold@skeeve.com>
 +
 +      * eval.c (flags2str): Move BOOL entry into the right place in the
 +      list.
 +      * NEWS: Update with info on mkbool.
 +
+ 2021-05-02         Arnold D. Robbins     <arnold@skeeve.com>
+ 
+       * awk.h (do_bool): Renamed do_mkbool.
+       * awkgram.y (tokentab): Rename bool to mkbool.
+       * builtin.c (do_bool): Renamed do_mkbool.
+ 
  2021-04-30         Arnold D. Robbins     <arnold@skeeve.com>
  
        * awk.h (boolval): Remove check for BOOL flag. It was incorrect.

http://git.sv.gnu.org/cgit/gawk.git/commit/?id=2eb0932e9eb3a4a4ff05ab8831d7e89c2d554004

commit 2eb0932e9eb3a4a4ff05ab8831d7e89c2d554004
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Mon May 3 20:34:19 2021 +0300

    Doc updates.

diff --git a/ChangeLog b/ChangeLog
index 8ed5b02..7dbafcd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 
        * eval.c (flags2str): Move BOOL entry into the right place in the
        list.
+       * NEWS: Update with info on mkbool.
 
 2021-04-30         Arnold D. Robbins     <arnold@skeeve.com>
 
diff --git a/NEWS b/NEWS
index 8506221..4708cf2 100644
--- a/NEWS
+++ b/NEWS
@@ -15,6 +15,12 @@ regular numbers; it should not be noticeable most of the 
time.
 2. If the AWK_HASH environment variable is set to "fnv1a" gawk will
 use the FNV1-A hash function for associative arrays.
 
+3. There is now a new function, mkbool(), that creates Boolean-typed
+values.  These values *are* numbers, but they are also tagged as
+Boolean. This is mainly for use with data exchange to/from languages
+or environments that support real Boolean values. See the manual
+for details.
+
 Changes from 5.1.0 to 5.1.1
 ---------------------------
 

http://git.sv.gnu.org/cgit/gawk.git/commit/?id=2b3f002533d3d7e7fa507ab9eb104fbdbcd6271b

commit 2b3f002533d3d7e7fa507ab9eb104fbdbcd6271b
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Mon May 3 20:33:49 2021 +0300

    Small fix in eval.c.

diff --git a/ChangeLog b/ChangeLog
index 5e2e98e..8ed5b02 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2021-05-03         Arnold D. Robbins     <arnold@skeeve.com>
+
+       * eval.c (flags2str): Move BOOL entry into the right place in the
+       list.
+
 2021-04-30         Arnold D. Robbins     <arnold@skeeve.com>
 
        * awk.h (boolval): Remove check for BOOL flag. It was incorrect.
diff --git a/eval.c b/eval.c
index 75c3932..c1d544c 100644
--- a/eval.c
+++ b/eval.c
@@ -442,6 +442,7 @@ flags2str(int flagval)
                { NUMCUR, "NUMCUR" },
                { NUMBER, "NUMBER" },
                { USER_INPUT, "USER_INPUT" },
+               { BOOL, "BOOL" },
                { INTLSTR, "INTLSTR" },
                { NUMINT, "NUMINT" },
                { INTIND, "INTIND" },
@@ -455,7 +456,6 @@ flags2str(int flagval)
                { XARRAY, "XARRAY" },
                { NUMCONSTSTR, "NUMCONSTSTR" },
                { REGEX, "REGEX" },
-               { BOOL, "BOOL" },
                { 0,    NULL },
        };
 

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

Summary of changes:
 ChangeLog | 6 ++++++
 NEWS      | 6 ++++++
 eval.c    | 2 +-
 3 files changed, 13 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
gawk



reply via email to

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