[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] gawk branch, master, updated. gawk-4.1.0-5324-g8445b30a
From: |
Arnold Robbins |
Subject: |
[SCM] gawk branch, master, updated. gawk-4.1.0-5324-g8445b30a |
Date: |
Mon, 21 Aug 2023 22:28:33 -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 8445b30ad61fc813ee6d102ad3b32fb810abf55e (commit)
from 4bf84cda8e001327c4e2896569e0bb878720d52e (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=8445b30ad61fc813ee6d102ad3b32fb810abf55e
commit 8445b30ad61fc813ee6d102ad3b32fb810abf55e
Author: Arnold D. Robbins <arnold@skeeve.com>
Date: Mon Aug 21 19:28:07 2023 -0700
Remove incorrect uses of N_() macro.
diff --git a/ChangeLog b/ChangeLog
index 63b98f48..88fedbe4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-08-21 Arnold D. Robbins <arnold@skeeve.com>
+
+ * node.c (make_str_node): Don't use N_() in cant_happen message.
+ * re.c (make_regexp): Ditto.
+
2023-08-20 Arnold D. Robbins <arnold@skeeve.com>
Change parse_escape() to return an enum instead of relying
diff --git a/node.c b/node.c
index 7d731b9e..91c28396 100644
--- a/node.c
+++ b/node.c
@@ -478,7 +478,7 @@ make_str_node(const char *s, size_t len, int flags)
lintwarn(_("backslash string
continuation is not portable"));
continue;
default:
- cant_happen(N_("received bad result %d
from parse_escape(), nbytes = %d"),
+ cant_happen("received bad result %d
from parse_escape(), nbytes = %d",
(int) ret, nbytes);
break;
}
diff --git a/re.c b/re.c
index 088f19da..d22b66fa 100644
--- a/re.c
+++ b/re.c
@@ -157,7 +157,7 @@ make_regexp(const char *s, size_t len, bool ignorecase,
bool dfa, bool canfatal)
break;
case ESCAPE_TERM_BACKSLASH:
case ESCAPE_LINE_CONINUATION:
- cant_happen(N_("received bad result %d
from parse_escape(), nbytes = %d"),
+ cant_happen("received bad result %d
from parse_escape(), nbytes = %d",
(int) ret, nbytes);
break;
}
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
node.c | 2 +-
re.c | 2 +-
3 files changed, 7 insertions(+), 2 deletions(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] gawk branch, master, updated. gawk-4.1.0-5324-g8445b30a,
Arnold Robbins <=