Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/tre/dist/lib Fix an apparent typo.



details:   https://anonhg.NetBSD.org/src/rev/ee5a3254fda6
branches:  trunk
changeset: 357647:ee5a3254fda6
user:      rin <rin%NetBSD.org@localhost>
date:      Sun Nov 19 21:54:31 2017 +0000

description:
Fix an apparent typo.

diffstat:

 external/bsd/tre/dist/lib/tre-match-backtrack.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 65bcd707361f -r ee5a3254fda6 external/bsd/tre/dist/lib/tre-match-backtrack.c
--- a/external/bsd/tre/dist/lib/tre-match-backtrack.c   Sun Nov 19 21:06:10 2017 +0000
+++ b/external/bsd/tre/dist/lib/tre-match-backtrack.c   Sun Nov 19 21:54:31 2017 +0000
@@ -409,7 +409,7 @@
          DPRINT(("  should match back reference %d\n", bt));
          /* Get the substring we need to match against.  Remember to
             turn off REG_NOSUB temporarily. */
-         tre_fill_pmatch(bt + 1, pmatch, tnfa->cflags & /*LINTED*/!REG_NOSUB,
+         tre_fill_pmatch(bt + 1, pmatch, tnfa->cflags & ~REG_NOSUB,
                          tnfa, tags, pos);
          /* LINTED */so = pmatch[bt].rm_so;
          /* LINTED */eo = pmatch[bt].rm_eo;



Home | Main Index | Thread Index | Old Index