gawk-diffs
[Top][All Lists]
Advanced

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

[gawk-diffs] [SCM] gawk branch, master, updated. 97bfce1a840cf8d40c1e895


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, master, updated. 97bfce1a840cf8d40c1e8956e24024c0ae1dfefc
Date: Sun, 14 Apr 2013 11:29:20 +0000

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, master has been updated
       via  97bfce1a840cf8d40c1e8956e24024c0ae1dfefc (commit)
       via  611fc4d35cc53a4b7fa4fbb407e019ea5c7517da (commit)
       via  02d472d056684dd62921ec74eb212b84377046ef (commit)
       via  2f33b52ecd3b07f4c45cf64e6bade9b65c07e330 (commit)
      from  74ad8503620cdccd1624fa52cb80f15d777a8b23 (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=97bfce1a840cf8d40c1e8956e24024c0ae1dfefc

commit 97bfce1a840cf8d40c1e8956e24024c0ae1dfefc
Author: Arnold D. Robbins <address@hidden>
Date:   Sun Apr 14 14:28:12 2013 +0300

    Minor doc update.

diff --git a/doc/ChangeLog b/doc/ChangeLog
index fa6faf7..325ed1f 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,7 @@
+2013-04-14         Arnold D. Robbins     <address@hidden>
+
+       * gawk.texi: Add link to 'pawk' - awk for python.
+
 2013-04-12         Arnold D. Robbins     <address@hidden>
 
        * gawk.texi: Continue cleanup.
diff --git a/doc/gawk.info b/doc/gawk.info
index 30879ea..fa533f9 100644
--- a/doc/gawk.info
+++ b/doc/gawk.info
@@ -26395,6 +26395,11 @@ QSE Awk
      `http://www.quiktrim.org/QTawk.html' for more information,
      including the manual and a download link.
 
+`pawk'
+     This is a Python module that claims to bring `awk'-like features
+     to Python. See `https://github.com/alecthomas/pawk' for more
+     information.
+
 
 
 File: gawk.info,  Node: Notes,  Next: Basic Concepts,  Prev: Installation,  
Up: Top
@@ -31190,6 +31195,7 @@ Index
 * patterns, types of:                    Pattern Overview.    (line  15)
 * pawk (profiling version of Brian Kernighan's awk): Other Versions.
                                                               (line  78)
+* pawk, awk-like facilities for Python:  Other Versions.      (line 129)
 * PC operating systems, gawk on:         PC Using.            (line   6)
 * PC operating systems, gawk on, installing: PC Installation. (line   6)
 * percent sign (%), % operator:          Precedence.          (line  55)
@@ -32440,35 +32446,35 @@ Node: VMS Running1050625
 Node: VMS Old Gawk1052232
 Node: Bugs1052706
 Node: Other Versions1056558
-Node: Notes1061888
-Node: Compatibility Mode1062688
-Node: Additions1063471
-Node: Accessing The Source1064398
-Node: Adding Code1066001
-Node: New Ports1072043
-Node: Derived Files1076178
-Ref: Derived Files-Footnote-11081499
-Ref: Derived Files-Footnote-21081533
-Ref: Derived Files-Footnote-31082133
-Node: Future Extensions1082231
-Node: Implementation Limitations1082812
-Node: Extension Design1084064
-Node: Old Extension Problems1085213
-Ref: Old Extension Problems-Footnote-11086721
-Node: Extension New Mechanism Goals1086778
-Ref: Extension New Mechanism Goals-Footnote-11090137
-Node: Extension Other Design Decisions1090323
-Node: Extension Future Growth1092429
-Node: Old Extension Mechansim1093250
-Node: Basic Concepts1095007
-Node: Basic High Level1095688
-Ref: figure-general-flow1095959
-Ref: figure-process-flow1096558
-Ref: Basic High Level-Footnote-11099787
-Node: Basic Data Typing1099972
-Node: Glossary1103327
-Node: Copying1128805
-Node: GNU Free Documentation License1166362
-Node: Index1191499
+Node: Notes1062050
+Node: Compatibility Mode1062850
+Node: Additions1063633
+Node: Accessing The Source1064560
+Node: Adding Code1066163
+Node: New Ports1072205
+Node: Derived Files1076340
+Ref: Derived Files-Footnote-11081661
+Ref: Derived Files-Footnote-21081695
+Ref: Derived Files-Footnote-31082295
+Node: Future Extensions1082393
+Node: Implementation Limitations1082974
+Node: Extension Design1084226
+Node: Old Extension Problems1085375
+Ref: Old Extension Problems-Footnote-11086883
+Node: Extension New Mechanism Goals1086940
+Ref: Extension New Mechanism Goals-Footnote-11090299
+Node: Extension Other Design Decisions1090485
+Node: Extension Future Growth1092591
+Node: Old Extension Mechansim1093412
+Node: Basic Concepts1095169
+Node: Basic High Level1095850
+Ref: figure-general-flow1096121
+Ref: figure-process-flow1096720
+Ref: Basic High Level-Footnote-11099949
+Node: Basic Data Typing1100134
+Node: Glossary1103489
+Node: Copying1128967
+Node: GNU Free Documentation License1166524
+Node: Index1191661
 
 End Tag Table
diff --git a/doc/gawk.texi b/doc/gawk.texi
index fc6faa1..2a5340d 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -34235,6 +34235,12 @@ under the GPL. It has a large number of extensions 
over standard
 See @uref{http://www.quiktrim.org/QTawk.html} for more information,
 including the manual and a download link.
 
address@hidden @code{pawk}
address@hidden @code{pawk}, @command{awk}-like facilities for Python
+This is a Python module that claims to bring @command{awk}-like
+features to Python. See @uref{https://github.com/alecthomas/pawk}
+for more information.
+
 @end table
 @c ENDOFRANGE gligawk
 @c ENDOFRANGE ingawk

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

commit 611fc4d35cc53a4b7fa4fbb407e019ea5c7517da
Author: Arnold D. Robbins <address@hidden>
Date:   Sun Apr 14 14:27:07 2013 +0300

    Update pc/Makefile.tst.

diff --git a/pc/ChangeLog b/pc/ChangeLog
index 1da7a33..48ed578 100644
--- a/pc/ChangeLog
+++ b/pc/ChangeLog
@@ -1,3 +1,7 @@
+2013-04-14   Scott Deifik  <address@hidden>
+
+       * Makefile.tst: Sync with mainline.
+
 2013-03-10         Arnold D. Robbins     <address@hidden>
 
        * config.h: Update by manually running make-config.bat steps.
diff --git a/pc/Makefile.tst b/pc/Makefile.tst
index 083b97d..71d735d 100644
--- a/pc/Makefile.tst
+++ b/pc/Makefile.tst
@@ -174,7 +174,7 @@ UNIX_TESTS = \
 GAWK_EXT_TESTS = \
        aadelete1 aadelete2 aarray1 aasort aasorti argtest arraysort \
        backw badargs beginfile1 beginfile2 binmode1 charasbytes \
-       clos1way delsub devfd devfd1 devfd2 dumpvars exit \
+       colonwarn clos1way delsub devfd devfd1 devfd2 dumpvars exit \
        fieldwdth fpat1 fpat2 fpat3  fpatnull fsfwfs funlen \
        functab1 functab2 functab3 \
        fwtest fwtest2 fwtest3 \
@@ -983,12 +983,20 @@ testext::
        @-$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@ testext.awk
 
 readdir:
+       @if [ "`uname`" = Linux ] && [ "`stat -f . 2>/dev/null | awk 'NR == 2 { 
print $$NF }'`" = nfs ];  then \
+       echo This test may fail on GNU/Linux systems when run on an NFS 
filesystem.; \
+       echo If it does, try rerunning on an ext'[234]' filesystem. ; \
+       fi
        @echo $@
        @$(AWK) -f $(srcdir)/readdir.awk $(top_srcdir) > _$@
-       @ls -fli $(top_srcdir) | sed 1d | $(AWK) -f $(srcdir)/readdir0.awk -v 
extout=_$@ > address@hidden
+       @ls -afli $(top_srcdir) | sed 1d | $(AWK) -f $(srcdir)/readdir0.awk -v 
extout=_$@ > address@hidden
        @-$(CMP) address@hidden _$@ && rm -f address@hidden _$@
 
 fts:
+       @if [ "`uname`" = IRIX ];  then \
+       echo This test may fail on IRIX systems when run on an NFS filesystem.; 
\
+       echo If it does, try rerunning on an xfs filesystem. ; \
+       fi
        @echo $@
        @$(AWK) -f $(srcdir)/fts.awk
        @-$(CMP) address@hidden _$@ && rm -f address@hidden _$@
@@ -1019,6 +1027,13 @@ reginttrad:
        @echo $@
        @$(AWK) --traditional -r -f $(srcdir)/address@hidden > _$@
        @-$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@
+
+colonwarn:
+       @echo $@
+       @for i in 1 2 3 ; \
+       do $(AWK) -f $(srcdir)/address@hidden $$i < $(srcdir)/address@hidden ; \
+       done > _$@
+       @-$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@
 Gt-dummy:
 # file Maketests, generated from Makefile.am by the Gentests program
 addcomma:

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

commit 02d472d056684dd62921ec74eb212b84377046ef
Author: Arnold D. Robbins <address@hidden>
Date:   Sun Apr 14 14:26:44 2013 +0300

    Bug fix in awkgram.y:check_funcs.

diff --git a/ChangeLog b/ChangeLog
index f478323..0ca9258 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-04-14         Arnold D. Robbins     <address@hidden>
+
+       * awkgram.y (check_funcs): Fix logic of test for called but
+       not defined warning. Thanks to Scott Deifik for the bug report.
+
 2013-04-02         Arnold D. Robbins     <address@hidden>
 
        * profile.c (print_lib_list): Send final newline to prof_fp
diff --git a/awkgram.c b/awkgram.c
index 31f80bc..03a39e7 100644
--- a/awkgram.c
+++ b/awkgram.c
@@ -6901,17 +6901,18 @@ check_funcs()
  
        for (i = 0; i < HASHSIZE; i++) {
                for (fp = ftable[i]; fp != NULL; fp = fp->next) {
-                       if (fp->defined == 0 && ! fp->extension) {
 #ifdef REALLYMEAN
-                               /* making this the default breaks old code. 
sigh. */
+                       /* making this the default breaks old code. sigh. */
+                       if (fp->defined == 0 && ! fp->extension) {
                                error(
                _("function `%s' called but never defined"), fp->name);
                                errcount++;
+                       }
 #else
+                       if (do_lint && fp->defined == 0 && ! fp->extension)
                                lintwarn(
                _("function `%s' called but never defined"), fp->name);
 #endif
-                       }
 
                        if (do_lint && fp->used == 0 && ! fp->extension) {
                                lintwarn(_("function `%s' defined but never 
called directly"),
diff --git a/awkgram.y b/awkgram.y
index 14520cd..0d86d4e 100644
--- a/awkgram.y
+++ b/awkgram.y
@@ -4353,17 +4353,18 @@ check_funcs()
  
        for (i = 0; i < HASHSIZE; i++) {
                for (fp = ftable[i]; fp != NULL; fp = fp->next) {
-                       if (fp->defined == 0 && ! fp->extension) {
 #ifdef REALLYMEAN
-                               /* making this the default breaks old code. 
sigh. */
+                       /* making this the default breaks old code. sigh. */
+                       if (fp->defined == 0 && ! fp->extension) {
                                error(
                _("function `%s' called but never defined"), fp->name);
                                errcount++;
+                       }
 #else
+                       if (do_lint && fp->defined == 0 && ! fp->extension)
                                lintwarn(
                _("function `%s' called but never defined"), fp->name);
 #endif
-                       }
 
                        if (do_lint && fp->used == 0 && ! fp->extension) {
                                lintwarn(_("function `%s' defined but never 
called directly"),

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

commit 2f33b52ecd3b07f4c45cf64e6bade9b65c07e330
Author: Arnold D. Robbins <address@hidden>
Date:   Sun Apr 14 14:25:27 2013 +0300

    Minor addition to Checklist file.

diff --git a/Checklist b/Checklist
index b446a4c..e453276 100644
--- a/Checklist
+++ b/Checklist
@@ -1,8 +1,9 @@
-Sun Jan 27 10:18:01 IST 2013
+Sun Apr 14 13:10:50 IDT 2013
 ============================
 
 A checklist for making releases
 
+The regtest test and other non-standard tests all pass
 Copyright dates in all files updated
        main.c - copyright message too!
 ChangeLogs in place and updated

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

Summary of changes:
 ChangeLog       |    5 ++++
 Checklist       |    3 +-
 awkgram.c       |    7 +++--
 awkgram.y       |    7 +++--
 doc/ChangeLog   |    4 +++
 doc/gawk.info   |   66 ++++++++++++++++++++++++++++++-------------------------
 doc/gawk.texi   |    6 +++++
 pc/ChangeLog    |    4 +++
 pc/Makefile.tst |   19 ++++++++++++++-
 9 files changed, 82 insertions(+), 39 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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