diff options
| author | Eli Zaretskii <eliz@gnu.org> | 2004-05-11 09:47:25 +0000 |
|---|---|---|
| committer | Eli Zaretskii <eliz@gnu.org> | 2004-05-11 09:47:25 +0000 |
| commit | 2a0c736bebd702b8aefc2282898d1a3378f46d3a (patch) | |
| tree | a3a5b7f6dd55dc502308119d02e2888646e08c62 /src/regex.c | |
| parent | 860e1e0f9f65dd7f65e106a900305aa55a4000c0 (diff) | |
| download | emacs-2a0c736bebd702b8aefc2282898d1a3378f46d3a.tar.gz | |
(mutually_exclusive_p): In 'case wordbeg', compare op2
against proper opcode.
Diffstat (limited to 'src/regex.c')
| -rw-r--r-- | src/regex.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
