Mercurial > emacs
diff src/regex.c @ 55530:ada02c2b390c
(mutually_exclusive_p): In 'case wordbeg', compare op2
against proper opcode.
| author | Eli Zaretskii <eliz@gnu.org> |
|---|---|
| date | Tue, 11 May 2004 09:47:25 +0000 |
| parents | 246c94760bee |
| children | daeeb5ef2d95 |
line wrap: on
line diff
--- a/src/regex.c Tue May 11 09:41:20 2004 +0000 +++ b/src/regex.c Tue May 11 09:47:25 2004 +0000 @@ -4661,7 +4661,7 @@ 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
