From: Eli Zaretskii Date: Tue, 11 May 2004 09:47:25 +0000 (+0000) Subject: (mutually_exclusive_p): In 'case wordbeg', compare op2 X-Git-Tag: ttn-vms-21-2-B4~6276 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2a0c736bebd702b8aefc2282898d1a3378f46d3a;p=emacs.git (mutually_exclusive_p): In 'case wordbeg', compare op2 against proper opcode. --- diff --git a/src/regex.c b/src/regex.c index a145183510d..a518ef81a0c 100644 --- a/src/regex.c +++ b/src/regex.c @@ -4661,7 +4661,7 @@ mutually_exclusive_p (bufp, p1, p2) case wordbeg: case syntaxspec: return ((re_opcode_t) *p1 == notsyntaxspec - && p1[1] == (op2 == wordend ? Sword : p2[1])); + && p1[1] == (op2 == wordbeg ? Sword : p2[1])); case wordbound: return (((re_opcode_t) *p1 == notsyntaxspec