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-4130-g2a9ffa8


From: Arnold Robbins
Subject: [SCM] gawk branch, gawk-5.1-stable, updated. gawk-4.1.0-4130-g2a9ffa8
Date: Wed, 30 Sep 2020 02:30:33 -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  2a9ffa8555af0543638cf8466d5f29d7ff1d275e (commit)
      from  251e47f4a1639244b8bfedd75ce6b4a26ec5949a (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=2a9ffa8555af0543638cf8466d5f29d7ff1d275e

commit 2a9ffa8555af0543638cf8466d5f29d7ff1d275e
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Wed Sep 30 09:30:17 2020 +0300

    Sync dfa.c from GNULIB.

diff --git a/support/ChangeLog b/support/ChangeLog
index 92caed2..e8fbd4b 100644
--- a/support/ChangeLog
+++ b/support/ChangeLog
@@ -1,3 +1,7 @@
+2020-09-30         Arnold D. Robbins     <arnold@skeeve.com>
+
+       * dfa.c: Synced from GNULIB.
+
 2020-09-24         Arnold D. Robbins     <arnold@skeeve.com>
 
        * dfa.c, dfa.h: Synced from GNULIB.
diff --git a/support/dfa.c b/support/dfa.c
index d47acfe..8aef2f3 100644
--- a/support/dfa.c
+++ b/support/dfa.c
@@ -369,7 +369,6 @@ typedef struct
   position_set elems;           /* Positions this state could match.  */
   unsigned char context;        /* Context from previous state.  */
   unsigned short constraint;    /* Constraint for this state to accept.  */
-  token first_end;              /* Token value of the first END in elems.  */
   position_set mbps;            /* Positions which can match multibyte
                                    characters or the follows, e.g., period.
                                    Used only if MB_CUR_MAX > 1.  */
@@ -2228,7 +2227,6 @@ state_index (struct dfa *d, position_set const *s, int 
context)
   size_t hash = 0;
   int constraint = 0;
   state_num i;
-  token first_end = 0;
 
   for (i = 0; i < s->nelem; ++i)
     {
@@ -2281,8 +2279,6 @@ state_index (struct dfa *d, position_set const *s, int 
context)
         {
           if (succeeds_in_context (c, context, CTX_ANY))
             constraint |= c;
-          if (!first_end)
-            first_end = d->tokens[s->elems[j].index];
         }
       else if (d->tokens[s->elems[j].index] == BACKREF)
         constraint = NO_CONSTRAINT;
@@ -2297,7 +2293,6 @@ state_index (struct dfa *d, position_set const *s, int 
context)
   copy (s, &d->states[i].elems);
   d->states[i].context = context;
   d->states[i].constraint = constraint;
-  d->states[i].first_end = first_end;
   d->states[i].mbps.nelem = 0;
   d->states[i].mbps.elems = NULL;
   d->states[i].mb_trindex = -1;

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

Summary of changes:
 support/ChangeLog | 4 ++++
 support/dfa.c     | 5 -----
 2 files changed, 4 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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