mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-02 08:22:22 +00:00
*** empty log message ***
This commit is contained in:
parent
1c5ceaf673
commit
165c67142a
12
src/regex.c
12
src/regex.c
@ -4463,8 +4463,10 @@ re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop)
|
||||
mcnt = (int) Sword;
|
||||
matchsyntax:
|
||||
PREFETCH ();
|
||||
if (SYNTAX (*d++) != (enum syntaxcode) mcnt)
|
||||
goto fail;
|
||||
/* Can't use *d++ here; SYNTAX may be an unsafe macro. */
|
||||
d++;
|
||||
if (SYNTAX (d[-1]) != (enum syntaxcode) mcnt)
|
||||
goto fail;
|
||||
SET_REGS_MATCHED ();
|
||||
break;
|
||||
|
||||
@ -4478,8 +4480,10 @@ re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop)
|
||||
mcnt = (int) Sword;
|
||||
matchnotsyntax:
|
||||
PREFETCH ();
|
||||
if (SYNTAX (*d++) == (enum syntaxcode) mcnt)
|
||||
goto fail;
|
||||
/* Can't use *d++ here; SYNTAX may be an unsafe macro. */
|
||||
d++;
|
||||
if (SYNTAX (d[-1]) == (enum syntaxcode) mcnt)
|
||||
goto fail;
|
||||
SET_REGS_MATCHED ();
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user