diff options
| author | Karl Heuer | 1994-02-23 23:04:30 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-02-23 23:04:30 +0000 |
| commit | 165c67142ad9408b8f3ada88068532378fe37d10 (patch) | |
| tree | e8302dd162e36dcea6134e056db92caa7d443198 /src | |
| parent | 1c5ceaf673898137f03c2851f4befb4fc2b2b89a (diff) | |
| download | emacs-165c67142ad9408b8f3ada88068532378fe37d10.tar.gz emacs-165c67142ad9408b8f3ada88068532378fe37d10.zip | |
*** empty log message ***
Diffstat (limited to 'src')
| -rw-r--r-- | src/regex.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/regex.c b/src/regex.c index 532d75330dc..c66a223f4b7 100644 --- a/src/regex.c +++ b/src/regex.c | |||
| @@ -4463,8 +4463,10 @@ re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop) | |||
| 4463 | mcnt = (int) Sword; | 4463 | mcnt = (int) Sword; |
| 4464 | matchsyntax: | 4464 | matchsyntax: |
| 4465 | PREFETCH (); | 4465 | PREFETCH (); |
| 4466 | if (SYNTAX (*d++) != (enum syntaxcode) mcnt) | 4466 | /* Can't use *d++ here; SYNTAX may be an unsafe macro. */ |
| 4467 | goto fail; | 4467 | d++; |
| 4468 | if (SYNTAX (d[-1]) != (enum syntaxcode) mcnt) | ||
| 4469 | goto fail; | ||
| 4468 | SET_REGS_MATCHED (); | 4470 | SET_REGS_MATCHED (); |
| 4469 | break; | 4471 | break; |
| 4470 | 4472 | ||
| @@ -4478,8 +4480,10 @@ re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop) | |||
| 4478 | mcnt = (int) Sword; | 4480 | mcnt = (int) Sword; |
| 4479 | matchnotsyntax: | 4481 | matchnotsyntax: |
| 4480 | PREFETCH (); | 4482 | PREFETCH (); |
| 4481 | if (SYNTAX (*d++) == (enum syntaxcode) mcnt) | 4483 | /* Can't use *d++ here; SYNTAX may be an unsafe macro. */ |
| 4482 | goto fail; | 4484 | d++; |
| 4485 | if (SYNTAX (d[-1]) == (enum syntaxcode) mcnt) | ||
| 4486 | goto fail; | ||
| 4483 | SET_REGS_MATCHED (); | 4487 | SET_REGS_MATCHED (); |
| 4484 | break; | 4488 | break; |
| 4485 | 4489 | ||