summaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-13 01:02:40 +0000
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-13 01:02:40 +0000
commitb677c96c423c47f4b2745523048e4dd093992296 (patch)
tree5a3c29ebfd76134531c5a09e687698994b0b9c3a /libiberty
parentfd436e77f876c379c109e33512a58f8b059885d7 (diff)
downloadgcc-b677c96c423c47f4b2745523048e4dd093992296.tar.gz
Fix missed replacements.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98063 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/regex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/regex.c b/libiberty/regex.c
index 601bbf14b36..66f1ef8c6db 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. */