[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] gawk branch, master, updated. gawk-4.1.0-5364-gb0380165
From: |
Arnold Robbins |
Subject: |
[SCM] gawk branch, master, updated. gawk-4.1.0-5364-gb0380165 |
Date: |
Sun, 8 Oct 2023 15:04:51 -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, master has been updated
via b03801652b44d3425805ebf2a25f3ab201e85cc3 (commit)
via fe3fd6b746061139619dcfb14c8f9a861ac34156 (commit)
from 697283847669d9fb8b5b439053b52c7f50cf4d65 (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=b03801652b44d3425805ebf2a25f3ab201e85cc3
commit b03801652b44d3425805ebf2a25f3ab201e85cc3
Author: Arnold D. Robbins <arnold@skeeve.com>
Date: Sun Oct 8 22:04:24 2023 +0300
Fix warning message for \u escape.
diff --git a/ChangeLog b/ChangeLog
index 93d11c6c..f02d114e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2023-10-08 Arnold D. Robbins <arnold@skeeve.com>
+
+ * node.c (parse_escape): Fix warning message for \u escape.
+
2023-10-03 Arnold D. Robbins <arnold@skeeve.com>
* profile.c (pprint): Add case for Op_lint_plus. Thanks to
diff --git a/node.c b/node.c
index bc4e777d..f0bcaf12 100644
--- a/node.c
+++ b/node.c
@@ -719,7 +719,7 @@ parse_escape(const char **string_ptr, const char **result,
size_t *nbytes)
memset(& mbs, 0, sizeof(mbs));
n = wcrtomb(buf, i, & mbs);
if (n == (size_t) -1) {
- warning(_("invalid \\u' escape sequence"));
+ warning(_("invalid `\\u' escape sequence"));
retval = ESCAPE_CONV_ERR;
*nbytes = 0;
} else {
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=fe3fd6b746061139619dcfb14c8f9a861ac34156
commit fe3fd6b746061139619dcfb14c8f9a861ac34156
Author: Arnold D. Robbins <arnold@skeeve.com>
Date: Sun Oct 8 21:42:54 2023 +0300
Fix cmdlinefsbacknl2.ok.
diff --git a/test/ChangeLog b/test/ChangeLog
index 81888fe1..c221e859 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -2,6 +2,7 @@
* cmdlinefsbacknl2.sh: Add -v BINMODE=2 to gawk invocation
for Windows. Thanks to Eli Zaretskii for the tip.
+ * cmdlinefsbacknl2.ok: Updated after fix to warning message.
2023-10-04 Arnold D. Robbins <arnold@skeeve.com>
diff --git a/test/cmdlinefsbacknl2.ok b/test/cmdlinefsbacknl2.ok
index 7f4c6951..81b59d08 100644
--- a/test/cmdlinefsbacknl2.ok
+++ b/test/cmdlinefsbacknl2.ok
@@ -4,20 +4,20 @@
5c 0a
5c 0a
5c 0a
-gawk: cmd. line:2: warning: invalid \u' escape sequence
-gawk: cmd. line:3: warning: invalid \u' escape sequence
+gawk: cmd. line:2: warning: invalid `\u' escape sequence
+gawk: cmd. line:3: warning: invalid `\u' escape sequence
3f 0a 3f 0a
-gawk: cmd. line:2: warning: invalid \u' escape sequence
+gawk: cmd. line:2: warning: invalid `\u' escape sequence
right: literal ? is literal
-gawk: cmd. line:2: warning: invalid \u' escape sequence
-gawk: cmd. line:5: warning: invalid \u' escape sequence
-gawk: cmd. line:8: warning: invalid \u' escape sequence
+gawk: cmd. line:2: warning: invalid `\u' escape sequence
+gawk: cmd. line:5: warning: invalid `\u' escape sequence
+gawk: cmd. line:8: warning: invalid `\u' escape sequence
1 == 1
-gawk: cmd. line:3: warning: invalid \u' escape sequence
+gawk: cmd. line:3: warning: invalid `\u' escape sequence
1 == 1
0 == 0
-gawk: cmd. line:6: warning: invalid \u' escape sequence
+gawk: cmd. line:6: warning: invalid `\u' escape sequence
0 == 0
0 == 0
-gawk: cmd. line:9: warning: invalid \u' escape sequence
+gawk: cmd. line:9: warning: invalid `\u' escape sequence
0 == 0
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
node.c | 2 +-
test/ChangeLog | 1 +
test/cmdlinefsbacknl2.ok | 18 +++++++++---------
4 files changed, 15 insertions(+), 10 deletions(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] gawk branch, master, updated. gawk-4.1.0-5364-gb0380165,
Arnold Robbins <=