gawk-diffs
[Top][All Lists]
Advanced

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

[SCM] gawk branch, gawk-5.3-stable, updated. gawk-4.1.0-5468-gcb0b47c6


From: Arnold Robbins
Subject: [SCM] gawk branch, gawk-5.3-stable, updated. gawk-4.1.0-5468-gcb0b47c6
Date: Sun, 19 May 2024 13:35:24 -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.3-stable has been updated
       via  cb0b47c654f6b1563ab55431b0658bb0be716123 (commit)
      from  241395a0cc4cbb5a89af620ea7c45b1f4e7ae333 (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=cb0b47c654f6b1563ab55431b0658bb0be716123

commit cb0b47c654f6b1563ab55431b0658bb0be716123
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Sun May 19 20:34:58 2024 +0300

    Update awkgram.c and test/paramres.ok.

diff --git a/ChangeLog b/ChangeLog
index ab394bed..49e63217 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2024-05-19         Arnold D. Robbins     <arnold@skeeve.com>
+
+       * awkgram.c: Updated.
+
 2024-05-18         Arnold D. Robbins     <arnold@skeeve.com>
 
        * awkgram.y (check_params): Make the message about not allowing
diff --git a/awkgram.c b/awkgram.c
index 1bb00003..80eae86c 100644
--- a/awkgram.c
+++ b/awkgram.c
@@ -7614,7 +7614,7 @@ check_params(char *fname, int pcount, INSTRUCTION *list)
                                _("function `%s': cannot use function name as 
parameter name"), fname);
                } else if (is_std_var(name)) {
                        error_ln(p->source_line,
-                               _("function `%s': cannot use special variable 
`%s' as a function parameter"),
+                               _("function `%s': parameter `%s': POSIX 
disallows using a special variable as a function parameter"),
                                        fname, name);
                } else if (strchr(name, ':') != NULL)
                        error_ln(p->source_line,
diff --git a/test/ChangeLog b/test/ChangeLog
index 3dd63939..e5d1d98b 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,7 @@
+2024-05-19         Arnold D. Robbins     <arnold@skeeve.com>
+
+       * paramres.ok: Updated after code change.
+
 2024-04-20         Arnold D. Robbins     <arnold@skeeve.com>
 
        * Makefile.am (EXTRA_DIST): New tests: strsubscript.
diff --git a/test/paramres.ok b/test/paramres.ok
index 0b6a2874..4361160a 100644
--- a/test/paramres.ok
+++ b/test/paramres.ok
@@ -1,2 +1,2 @@
-gawk: paramres.awk:3: error: function `foo': cannot use special variable `FS' 
as a function parameter
+gawk: paramres.awk:3: error: function `foo': parameter `FS': POSIX disallows 
using a special variable as a function parameter
 EXIT CODE: 1

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

Summary of changes:
 ChangeLog        | 4 ++++
 awkgram.c        | 2 +-
 test/ChangeLog   | 4 ++++
 test/paramres.ok | 2 +-
 4 files changed, 10 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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