gawk-diffs
[Top][All Lists]
Advanced

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

[gawk-diffs] [SCM] gawk branch, feature/fixtype, updated. gawk-4.1.0-189


From: Andrew J. Schorr
Subject: [gawk-diffs] [SCM] gawk branch, feature/fixtype, updated. gawk-4.1.0-1893-gf4dfa78
Date: Wed, 6 Jul 2016 19:28:01 +0000 (UTC)

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/fixtype has been updated
       via  f4dfa789e973f98aab5e091492dbcf542747c3b4 (commit)
      from  ba9c9d88506e819fae0d9d2b0acd72a88765d0eb (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=f4dfa789e973f98aab5e091492dbcf542747c3b4

commit f4dfa789e973f98aab5e091492dbcf542747c3b4
Author: Andrew J. Schorr <address@hidden>
Date:   Wed Jul 6 15:27:23 2016 -0400

    Renumber NODE flags to eliminate gap created when FIELD was removed.

diff --git a/ChangeLog b/ChangeLog
index 1f18948..ab1bcaf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-07-06         Andrew J. Schorr     <address@hidden>
+
+       * awk.h: Renumber flags to remove gap created when FIELD was removed.
+
 2016-07-05         Andrew J. Schorr     <address@hidden>
 
        * field.c (rebuild_record): Need to set MALLOC flag if we allocate
diff --git a/awk.h b/awk.h
index a80ced6..b210dcd 100644
--- a/awk.h
+++ b/awk.h
@@ -430,22 +430,22 @@ typedef struct exp_node {
 #              define  NUMBER  0x0010       /* assigned as number */
 #              define  MAYBE_NUM 0x0020     /* user input: if NUMERIC then
                                              * a NUMBER */
-#              define  INTLSTR 0x0080       /* use localized version */
-#              define  NUMINT  0x0100       /* numeric value is an integer */
-#              define  INTIND  0x0200       /* integral value is array index;
+#              define  INTLSTR 0x0040       /* use localized version */
+#              define  NUMINT  0x0080       /* numeric value is an integer */
+#              define  INTIND  0x0100       /* integral value is array index;
                                              * lazy conversion to string.
                                              */
-#              define  WSTRCUR 0x0400       /* wide str value is current */
-#              define  MPFN    0x0800       /* arbitrary-precision 
floating-point number */
-#              define  MPZN    0x1000       /* arbitrary-precision integer */
-#              define  NO_EXT_SET 0x2000    /* extension cannot set a value 
for this variable */
-#              define  NULL_FIELD 0x4000    /* this is the null field */
+#              define  WSTRCUR 0x0200       /* wide str value is current */
+#              define  MPFN    0x0400       /* arbitrary-precision 
floating-point number */
+#              define  MPZN    0x0800       /* arbitrary-precision integer */
+#              define  NO_EXT_SET 0x1000    /* extension cannot set a value 
for this variable */
+#              define  NULL_FIELD 0x2000    /* this is the null field */
 
 /* type = Node_var_array */
-#              define  ARRAYMAXED      0x8000       /* array is at max size */
-#              define  HALFHAT         0x10000       /* half-capacity Hashed 
Array Tree;
+#              define  ARRAYMAXED      0x4000       /* array is at max size */
+#              define  HALFHAT         0x8000       /* half-capacity Hashed 
Array Tree;
                                                      * See cint_array.c */
-#              define  XARRAY          0x20000
+#              define  XARRAY          0x10000
 } NODE;
 
 #define vname sub.nodep.name

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

Summary of changes:
 ChangeLog |    4 ++++
 awk.h     |   22 +++++++++++-----------
 2 files changed, 15 insertions(+), 11 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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