diff options
author | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2005-04-13 01:02:40 +0000 |
---|---|---|
committer | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2005-04-13 01:02:40 +0000 |
commit | e7590e9543f8405806efc39c20718da1f5d43640 (patch) | |
tree | 5a3c29ebfd76134531c5a09e687698994b0b9c3a /libiberty | |
parent | 4cf88ac3438e29202b8eaf2d7c85e70dd2222733 (diff) | |
download | gcc-e7590e9543f8405806efc39c20718da1f5d43640.zip gcc-e7590e9543f8405806efc39c20718da1f5d43640.tar.gz gcc-e7590e9543f8405806efc39c20718da1f5d43640.tar.bz2 |
Fix missed replacements.
From-SVN: r98063
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/regex.c | 4 |
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. */ |