gawk-diffs
[Top][All Lists]
Advanced

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

[SCM] gawk branch, feature/minrx, updated. gawk-4.1.0-5441-g3a3e4e5b


From: Arnold Robbins
Subject: [SCM] gawk branch, feature/minrx, updated. gawk-4.1.0-5441-g3a3e4e5b
Date: Fri, 27 Oct 2023 04:24:20 -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/minrx has been updated
       via  3a3e4e5b941bd7128e6d901a6ca5d690f6f59f0f (commit)
      from  9504036cdb9e03d55f4624bc977fb8a7f760708d (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=3a3e4e5b941bd7128e6d901a6ca5d690f6f59f0f

commit 3a3e4e5b941bd7128e6d901a6ca5d690f6f59f0f
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Fri Oct 27 11:23:55 2023 +0300

    Fix for \` and \' parsing.

diff --git a/re.c b/re.c
index 6f8d0bc8..efa1498a 100644
--- a/re.c
+++ b/re.c
@@ -220,7 +220,7 @@ make_regexp(const char *s, size_t len, bool ignorecase, 
bool dfa, bool canfatal)
                        break;
                case '`':
                        /* gnu regex op */
-                       if (! do_traditional) {
+                       if (! do_traditional && ! use_gnu_matchers) {
                                *dest++ = '^';
                                src++;
                                break;
@@ -229,7 +229,7 @@ make_regexp(const char *s, size_t len, bool ignorecase, 
bool dfa, bool canfatal)
                                goto do_default;
                case '\'':
                        /* gnu regex op */
-                       if (! do_traditional) {
+                       if (! do_traditional && ! use_gnu_matchers) {
                                *dest++ = '$';
                                src++;
                                break;

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

Summary of changes:
 re.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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