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-5467-g241395a0


From: Arnold Robbins
Subject: [SCM] gawk branch, gawk-5.3-stable, updated. gawk-4.1.0-5467-g241395a0
Date: Sat, 18 May 2024 15:32:38 -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  241395a0cc4cbb5a89af620ea7c45b1f4e7ae333 (commit)
      from  5103bb44b763fc1018bb119270aed81acad8b022 (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=241395a0cc4cbb5a89af620ea7c45b1f4e7ae333

commit 241395a0cc4cbb5a89af620ea7c45b1f4e7ae333
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Sat May 18 22:32:13 2024 +0300

    Update an error message.

diff --git a/ChangeLog b/ChangeLog
index 45b3cebc..ab394bed 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-05-18         Arnold D. Robbins     <arnold@skeeve.com>
+
+       * awkgram.y (check_params): Make the message about not allowing
+       reseved variables as parameters explicit that this is from POSIX.
+
 2024-04-28         Arnold D. Robbins     <arnold@skeeve.com>
 
        * re.c: Update copyright year.
diff --git a/awkgram.y b/awkgram.y
index 5f0697b0..24acc460 100644
--- a/awkgram.y
+++ b/awkgram.y
@@ -5112,7 +5112,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,

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

Summary of changes:
 ChangeLog | 5 +++++
 awkgram.y | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
gawk



reply via email to

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