aboutsummaryrefslogtreecommitdiff
path: root/libiberty/regex.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2005-04-13 01:06:55 +0000
committerDJ Delorie <dj@redhat.com>2005-04-13 01:06:55 +0000
commit776dbd277f12a10a7dddd6ffe3c6bc9e66c4cbea (patch)
treedaeb6da4718e5b64b53b9f9ad5febe1457d2c718 /libiberty/regex.c
parentea7143ac880002c415df7df1d815c6a57736c0f2 (diff)
downloadgdb-776dbd277f12a10a7dddd6ffe3c6bc9e66c4cbea.zip
gdb-776dbd277f12a10a7dddd6ffe3c6bc9e66c4cbea.tar.gz
gdb-776dbd277f12a10a7dddd6ffe3c6bc9e66c4cbea.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/regex.c')
-rw-r--r--libiberty/regex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/regex.c b/libiberty/regex.c
index 601bbf1..66f1ef8 100644
--- a/libiberty/regex.c
+++ b/libiberty/regex.c
@@ -6174,7 +6174,7 @@ byte_re_match_2_internal (struct re_pattern_buffer *bufp,
#endif /* WCHAR */
boolean negate = (re_opcode_t) *(p - 1) == charset_not;
- DEBUG_PRINT2 ("EXECUTING charset%s.\n", not ? "_not" : "");
+ DEBUG_PRINT2 ("EXECUTING charset%s.\n", negate ? "_not" : "");
PREFETCH ();
c = TRANSLATE (*d); /* The character to match. */
#ifdef WCHAR
@@ -6544,7 +6544,7 @@ byte_re_match_2_internal (struct re_pattern_buffer *bufp,
negate = !negate;
char_set_matched:
- if (not) goto fail;
+ if (negate) goto fail;
#else
/* Cast to `unsigned' instead of `unsigned char' in case the
bit list is a full 32 bytes long. */