diff options
| author | Eli Zaretskii | 2004-05-11 09:47:25 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2004-05-11 09:47:25 +0000 |
| commit | 2a0c736bebd702b8aefc2282898d1a3378f46d3a (patch) | |
| tree | a3a5b7f6dd55dc502308119d02e2888646e08c62 /src/regex.c | |
| parent | 860e1e0f9f65dd7f65e106a900305aa55a4000c0 (diff) | |
| download | emacs-2a0c736bebd702b8aefc2282898d1a3378f46d3a.tar.gz emacs-2a0c736bebd702b8aefc2282898d1a3378f46d3a.zip | |
(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) | |||
| 4661 | case wordbeg: | 4661 | case wordbeg: |
| 4662 | case syntaxspec: | 4662 | case syntaxspec: |
| 4663 | return ((re_opcode_t) *p1 == notsyntaxspec | 4663 | return ((re_opcode_t) *p1 == notsyntaxspec |
| 4664 | && p1[1] == (op2 == wordend ? Sword : p2[1])); | 4664 | && p1[1] == (op2 == wordbeg ? Sword : p2[1])); |
| 4665 | 4665 | ||
| 4666 | case wordbound: | 4666 | case wordbound: |
| 4667 | return (((re_opcode_t) *p1 == notsyntaxspec | 4667 | return (((re_opcode_t) *p1 == notsyntaxspec |