(mutually_exclusive_p): In 'case wordbeg', compare op2

against proper opcode.
This commit is contained in:
Eli Zaretskii 2004-05-11 09:47:25 +00:00
parent 860e1e0f9f
commit 2a0c736beb

View file

@ -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