diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/regex-emacs.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/regex-emacs.c b/src/regex-emacs.c index 06befe1b189..cf7b704ee95 100644 --- a/src/regex-emacs.c +++ b/src/regex-emacs.c | |||
| @@ -3793,11 +3793,12 @@ mutually_exclusive_aux (struct re_pattern_buffer *bufp, re_char *p1, | |||
| 3793 | return true; /* Presumably already checked elsewhere. */ | 3793 | return true; /* Presumably already checked elsewhere. */ |
| 3794 | eassert (loop_entry && p2 >= loop_entry); | 3794 | eassert (loop_entry && p2 >= loop_entry); |
| 3795 | if (p2 < loop_entry || (loop_exit && p2 > loop_exit)) | 3795 | if (p2 < loop_entry || (loop_exit && p2 > loop_exit)) |
| 3796 | /* The assumptions about the shape of the code aren't true :-( */ | 3796 | { /* The assumptions about the shape of the code aren't true :-( */ |
| 3797 | #ifdef ENABLE_CHECKING | 3797 | #ifdef ENABLE_CHECKING |
| 3798 | error ("Broken assumption in regex.c:mutually_exclusive_aux"); | 3798 | error ("Broken assumption in regex.c:mutually_exclusive_aux"); |
| 3799 | #endif | 3799 | #endif |
| 3800 | return false; | 3800 | return false; |
| 3801 | } | ||
| 3801 | 3802 | ||
| 3802 | /* Skip over open/close-group commands. | 3803 | /* Skip over open/close-group commands. |
| 3803 | If what follows this loop is a ...+ construct, | 3804 | If what follows this loop is a ...+ construct, |