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-4148-ga3e187c


From: Arnold Robbins
Subject: [SCM] gawk branch, gawk-5.1-stable, updated. gawk-4.1.0-4148-ga3e187c
Date: Sun, 11 Oct 2020 09:40:03 -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  a3e187cbb5c9ef951152f18fee1d36c93e4abbe5 (commit)
       via  dd9b0921ee9a6918279b3245d4373fdd1180ee13 (commit)
      from  2020ca77388eb288f1fa7ac1b2a8fecf970b2290 (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=a3e187cbb5c9ef951152f18fee1d36c93e4abbe5

commit a3e187cbb5c9ef951152f18fee1d36c93e4abbe5
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Sun Oct 11 16:39:24 2020 +0300

    Small improvement for regexp maybe_long criteria.

diff --git a/ChangeLog b/ChangeLog
index 84491dc..f5bc082 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2020-10-11         Arnold D. Robbins     <arnold@skeeve.com>
+
+       * re.c (make_regexp): Add {} to characters that cause rp->maybe_long
+       to be true.
+       * io.c (rsrescan): Update comment for step 4.
+
 2020-09-21         Arnold D. Robbins     <arnold@skeeve.com>
 
        * awk.h (enum redirect_flags): Add RED_NONE.
diff --git a/io.c b/io.c
index 1fb9587..2714398 100644
--- a/io.c
+++ b/io.c
@@ -3753,7 +3753,7 @@ again:
          * "abc" into the front of the next record. Ooops.
          *
          * The re->maybe_long member is true if the
-         * regex contains one of: + * ? |.  This is a very
+         * regex contains one of: + * ? | { }.  This is a very
          * simple heuristic, but in combination with the
          * "end of match within a few bytes of end of buffer"
          * check, should keep things reasonable.
diff --git a/re.c b/re.c
index a23e7f6..fb28c56 100644
--- a/re.c
+++ b/re.c
@@ -282,7 +282,7 @@ make_regexp(const char *s, size_t len, bool ignorecase, 
bool dfa, bool canfatal)
        }
 
        for (i = len - 1; i >= 0; i--) {
-               if (strchr("*+|?", buf[i]) != NULL) {
+               if (strchr("*+|?{}", buf[i]) != NULL) {
                        rp->maybe_long = true;
                        break;
                }

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

commit dd9b0921ee9a6918279b3245d4373fdd1180ee13
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Sun Oct 11 16:16:27 2020 +0300

    Doc updates (spelling).

diff --git a/doc/ChangeLog b/doc/ChangeLog
index 0b47495..6b75c55 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,8 @@
+2020-10-11         Arnold D. Robbins     <arnold@skeeve.com>
+
+       * gawkworkflow.texi: Fix a spelling error.
+       * wordlist, wordlist2: Updated.
+
 2020-10-07         Arnold D. Robbins     <arnold@skeeve.com>
 
        * gawktexi.in: Add an additional dark corner notation.
diff --git a/doc/gawkworkflow.info b/doc/gawkworkflow.info
index fa44033..4427a75 100644
--- a/doc/gawkworkflow.info
+++ b/doc/gawkworkflow.info
@@ -260,7 +260,7 @@ such as code fixes, documentation fixes, and/or new 
features.
      NOTE: If possible, new features should be done using 'gawk''s
      extension mechanism.  If you want to add a user-visible language
      change to the 'gawk' core, you're going to have to convince the
-     maintainer and other developers that it's really worthwile to do
+     maintainer and other developers that it's really worthwhile to do
      so.
 
      Changes that improve performance or portability, or that fix bugs,
@@ -1927,60 +1927,60 @@ Node: Conventions7584
 Node: Acknowledgments9053
 Node: Reviewers9490
 Node: Contributing9811
-Ref: Contributing-Footnote-113166
-Node: Using Git13198
-Node: Push Pull13954
-Node: Repo Copies15369
-Ref: savannah-repo16352
-Ref: your-repo17385
-Ref: Repo Copies-Footnote-119079
-Node: Local Branches19136
-Ref: your-repo-220909
-Ref: Local Branches-Footnote-121990
-Node: Branches are state22048
-Node: Repo State22771
-Node: Local State24891
-Node: Remotes25555
-Node: Configuring git26869
-Ref: Configuring git-Footnote-129222
-Node: Development without commit access29391
-Node: Cloning30393
-Node: Switching Branches32252
-Node: Starting A New Branch32870
-Ref: Starting A New Branch-Footnote-134758
-Ref: Starting A New Branch-Footnote-234816
-Node: Undoing a change34892
-Node: Updating35493
-Node: Rebasing35995
-Node: Merge Conflicts36607
-Node: Submitting Changes38107
-Ref: Submitting Changes-Footnote-140251
-Ref: Submitting Changes-Footnote-240288
-Ref: Submitting Changes-Footnote-340324
-Node: Removing Branches40370
-Node: Points to remember40906
-Node: Development with commit access42583
-Node: Initial setup43228
-Node: ssh clone44016
-Node: Developing patches44613
-Node: Developing new features45945
-Node: Developing fixes47845
-Node: General practices48928
-Node: Repo Maintenance53747
-Ref: Repo Maintenance-Footnote-156517
-Node: Development Stuff56650
-Node: Coding style57213
-Ref: Coding style-Footnote-157871
-Node: Doing paperwork57961
-Node: Tools58756
-Node: GNU Tools59338
-Node: Compilers61499
-Ref: Compilers-Footnote-164109
-Node: Debugging64147
-Node: Cheat Sheet64884
-Node: Resources68571
-Node: TODO69014
-Node: Index69234
+Ref: Contributing-Footnote-113167
+Node: Using Git13199
+Node: Push Pull13955
+Node: Repo Copies15370
+Ref: savannah-repo16353
+Ref: your-repo17386
+Ref: Repo Copies-Footnote-119080
+Node: Local Branches19137
+Ref: your-repo-220910
+Ref: Local Branches-Footnote-121991
+Node: Branches are state22049
+Node: Repo State22772
+Node: Local State24892
+Node: Remotes25556
+Node: Configuring git26870
+Ref: Configuring git-Footnote-129223
+Node: Development without commit access29392
+Node: Cloning30394
+Node: Switching Branches32253
+Node: Starting A New Branch32871
+Ref: Starting A New Branch-Footnote-134759
+Ref: Starting A New Branch-Footnote-234817
+Node: Undoing a change34893
+Node: Updating35494
+Node: Rebasing35996
+Node: Merge Conflicts36608
+Node: Submitting Changes38108
+Ref: Submitting Changes-Footnote-140252
+Ref: Submitting Changes-Footnote-240289
+Ref: Submitting Changes-Footnote-340325
+Node: Removing Branches40371
+Node: Points to remember40907
+Node: Development with commit access42584
+Node: Initial setup43229
+Node: ssh clone44017
+Node: Developing patches44614
+Node: Developing new features45946
+Node: Developing fixes47846
+Node: General practices48929
+Node: Repo Maintenance53748
+Ref: Repo Maintenance-Footnote-156518
+Node: Development Stuff56651
+Node: Coding style57214
+Ref: Coding style-Footnote-157872
+Node: Doing paperwork57962
+Node: Tools58757
+Node: GNU Tools59339
+Node: Compilers61500
+Ref: Compilers-Footnote-164110
+Node: Debugging64148
+Node: Cheat Sheet64885
+Node: Resources68572
+Node: TODO69015
+Node: Index69235
 
 End Tag Table
 
diff --git a/doc/gawkworkflow.texi b/doc/gawkworkflow.texi
index e355bf6..0aa6882 100644
--- a/doc/gawkworkflow.texi
+++ b/doc/gawkworkflow.texi
@@ -486,7 +486,7 @@ features.
 If possible, new features should be done using @command{gawk}'s extension
 mechanism. If you want to add a user-visible language change to the
 @command{gawk} core, you're going to have to convince the maintainer
-and other developers that it's really worthwile to do so.
+and other developers that it's really worthwhile to do so.
 
 Changes that improve performance or portability, or that fix bugs,
 or that enable more things in extensions,
diff --git a/doc/wordlist b/doc/wordlist
index 40f55da..c93eda5 100644
--- a/doc/wordlist
+++ b/doc/wordlist
@@ -640,8 +640,6 @@ bax
 baz
 bc
 bcd
-bduncan
-beachnet
 becky
 beebe
 beginfile
@@ -858,6 +856,7 @@ elem
 elif
 eliz
 elled
+elvish
 emalloc
 embeddable
 emory
@@ -1199,7 +1198,7 @@ lu
 lvalue
 lvalues
 lwall
-lwc
+lwcm
 madronabluff
 makeinfo
 malloc
@@ -1210,6 +1209,7 @@ mathworld
 mawk
 maxelt
 maxsub
+mbs
 mediaobject
 mem
 memcpy
@@ -1256,8 +1256,6 @@ murphy
 mv
 mydata
 myfile
-myfileaa
-myfileab
 myfiles
 myfunc
 mylongopts
@@ -1637,6 +1635,7 @@ tarball
 tarballs
 tbody
 tbreak
+tbytes
 tchars
 tcount
 tcp
diff --git a/doc/wordlist2 b/doc/wordlist2
index b576c48..d6980be 100644
--- a/doc/wordlist2
+++ b/doc/wordlist2
@@ -171,7 +171,6 @@ vms
 vr
 vskip
 wordpress
-worthwile
 www
 xref
 xxx

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

Summary of changes:
 ChangeLog             |   6 +++
 doc/ChangeLog         |   5 +++
 doc/gawkworkflow.info | 110 +++++++++++++++++++++++++-------------------------
 doc/gawkworkflow.texi |   2 +-
 doc/wordlist          |   9 ++---
 doc/wordlist2         |   1 -
 io.c                  |   2 +-
 re.c                  |   2 +-
 8 files changed, 73 insertions(+), 64 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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