gawk-diffs
[Top][All Lists]
Advanced

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

[SCM] gawk branch, feature/mdim, updated. gawk-4.1.0-4740-g96a8526d


From: Arnold Robbins
Subject: [SCM] gawk branch, feature/mdim, updated. gawk-4.1.0-4740-g96a8526d
Date: Thu, 28 Apr 2022 16:27:54 -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, feature/mdim has been updated
       via  96a8526d5e7eb731c0471fff7901f274a08d1193 (commit)
       via  20c0d1e7c5d9bd6b85bbe3dbb9d8c06005442e7e (commit)
       via  50d92ff4fee27a6d4b644293422c6373ad90812d (commit)
       via  4afcd655d827cc095e20abbf05b4aa5d41122600 (commit)
       via  0171cdeb5ce6f0d43bc41b0a69d706d367370bd0 (commit)
       via  cb970456a0cc9e9b024afc5664d27ba486e60715 (commit)
       via  db645f36b6e1c5ffa7760d4fd592fd0e32d7cc99 (commit)
      from  ed75ac89f17ad6a07af7ade2a34b8be4e2b6f3e8 (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=96a8526d5e7eb731c0471fff7901f274a08d1193

commit 96a8526d5e7eb731c0471fff7901f274a08d1193
Merge: ed75ac89 20c0d1e7
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Thu Apr 28 23:27:43 2022 +0300

    Merge branch 'master' into feature/mdim

diff --cc interpret.h
index 4588967a,bed2dfe8..e49ae228
--- a/interpret.h
+++ b/interpret.h
@@@ -329,7 -329,25 +329,25 @@@ uninitialized_scalar
                        t2 = mk_sub(pc->sub_count);
                        t1 = POP_ARRAY(false);
                        r = in_array(t1, t2);
+ 
 -                      if (r == NULL) {
 +                      if (r == NULL || r == Nnull_array_value) {
+                               t2 = force_string(t2);
+ 
+                               if (t1 == func_table) {
+                                       fatal(_("reference to uninitialized 
element `%s[\"%.*s\"] is not allowed'"),
+                                               "FUNCTAB", (int) t2->stlen, 
t2->stptr);
+                               } else if (t1 == symbol_table) {
+                                       fatal(_("reference to uninitialized 
element `%s[\"%.*s\"] is not allowed'"),
+                                               "SYMTAB", (int) t2->stlen, 
t2->stptr);
+                               } else if (do_lint) {
+                                       lintwarn(_("reference to uninitialized 
element `%s[\"%.*s\"]'"),
+                                               array_vname(t1), (int) 
t2->stlen, t2->stptr);
+                                       if (t2->stlen == 0)
+                                               lintwarn(_("subscript of array 
`%s' is null string"), array_vname(t1));
+                               }
+                       }
+ 
+                       if (r == NULL) {
                                r = make_array();
                                r->parent_array = t1;
                                t2 = force_string(t2);

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

Summary of changes:
 ChangeLog                            |   13 +
 doc/ChangeLog                        |    6 +
 doc/gawk.info                        | 1094 +++++++++++++++++-----------------
 doc/gawk.texi                        |    2 +-
 doc/gawktexi.in                      |    2 +-
 doc/it/ChangeLog                     |    4 +
 doc/it/texinfo.tex                   |   70 +--
 doc/wordlist                         |    1 -
 interpret.h                          |   18 +
 mpfr.c                               |   13 +-
 pc/ChangeLog                         |    8 +
 pc/Makefile.tst                      |   19 +-
 support/ChangeLog                    |    5 +
 support/regcomp.c                    |   30 +-
 test/ChangeLog                       |   18 +-
 test/Makefile.am                     |   10 +-
 test/Makefile.in                     |   25 +-
 test/Maketests                       |   15 +
 test/mpfrnegzero2.awk                |    3 +
 test/mpfrnegzero2.ok                 |    1 +
 test/regex3minus.awk                 |    3 +
 test/{splitvar.ok => regex3minus.ok} |    0
 test/symtab12.awk                    |    7 +
 test/symtab12.ok                     |   32 +
 24 files changed, 780 insertions(+), 619 deletions(-)
 create mode 100644 test/mpfrnegzero2.awk
 create mode 100644 test/mpfrnegzero2.ok
 create mode 100644 test/regex3minus.awk
 copy test/{splitvar.ok => regex3minus.ok} (100%)
 create mode 100644 test/symtab12.awk
 create mode 100644 test/symtab12.ok


hooks/post-receive
-- 
gawk



reply via email to

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