gawk-diffs
[Top][All Lists]
Advanced

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

[gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-964


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-964-gdcb6d54
Date: Fri, 12 Aug 2016 04:11:40 +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, gawk-4.1-stable has been updated
       via  dcb6d54b3c272a7c8f0efadb7fad215e39248cad (commit)
       via  1c972b5c234fb031f62356706cd8c0336312833d (commit)
      from  3cf67f58ce8e42f9ce8d7be45936eedf79751b46 (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=dcb6d54b3c272a7c8f0efadb7fad215e39248cad

commit dcb6d54b3c272a7c8f0efadb7fad215e39248cad
Author: Arnold D. Robbins <address@hidden>
Date:   Fri Aug 12 07:11:23 2016 +0300

    Minor text and formatting edits in int_array.c.

diff --git a/ChangeLog b/ChangeLog
index efdbad2..f218714 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,10 @@
 
        * dfa.c: Sync with GNU grep.
 
+       Unrelated:
+
+       * int_array.c: Minor text and formatting edits.
+
 2016-08-09         Andrew J. Schorr     <address@hidden>
 
        * awk.h: Add a comment explaining the NUMINT flag in more detail.
diff --git a/int_array.c b/int_array.c
index 1fa32bd..6cffec8 100644
--- a/int_array.c
+++ b/int_array.c
@@ -143,7 +143,7 @@ is_integer(NODE *symbol, NODE *subs)
                d = subs->numbr;
                if (d <= INT32_MAX && d >= INT32_MIN && d == (int32_t) d) {
                        /*
-                        * the numeric value is an integer, but we must
+                        * The numeric value is an integer, but we must
                         * protect against strings that cannot be generated
                         * from sprintf("%ld", <subscript>). This can happen
                         * with strnum or string values. We could skip this
@@ -151,7 +151,8 @@ is_integer(NODE *symbol, NODE *subs)
                         * code does not currently distinguish between NUMBER
                         * and strnum values.
                         */
-                       if ((subs->flags & STRCUR) == 0 || 
standard_integer_string(subs->stptr, subs->stlen)) {
+                       if (   (subs->flags & STRCUR) == 0
+                           || standard_integer_string(subs->stptr, 
subs->stlen)) {
                                subs->flags |= NUMINT;
                                return & success_node;
                        }

http://git.sv.gnu.org/cgit/gawk.git/commit/?id=1c972b5c234fb031f62356706cd8c0336312833d

commit 1c972b5c234fb031f62356706cd8c0336312833d
Author: Arnold D. Robbins <address@hidden>
Date:   Fri Aug 12 07:10:49 2016 +0300

    Sync dfa.c with GNU grep.

diff --git a/ChangeLog b/ChangeLog
index c3da019..efdbad2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-08-12         Arnold D. Robbins     <address@hidden>
+
+       * dfa.c: Sync with GNU grep.
+
 2016-08-09         Andrew J. Schorr     <address@hidden>
 
        * awk.h: Add a comment explaining the NUMINT flag in more detail.
diff --git a/dfa.c b/dfa.c
index fcc0dd4..07d87db 100644
--- a/dfa.c
+++ b/dfa.c
@@ -3405,6 +3405,7 @@ dfaoptimize (struct dfa *d)
   free_mbdata (d);
   d->multibyte = false;
   d->dfaexec = dfaexec_sb;
+  d->fast = true;
 }
 
 static void

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

Summary of changes:
 ChangeLog   |    8 ++++++++
 dfa.c       |    1 +
 int_array.c |    5 +++--
 3 files changed, 12 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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