From: Stefan Monnier Date: Thu, 21 Sep 2023 15:58:44 +0000 (-0400) Subject: * src/regex-emacs.c (mutually_exclusive_aux) [ENABLE_CHECKING]: Fix if X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cc9bfcafb9cb9efa606d0ac5747a4600d5ccafcb;p=emacs.git * src/regex-emacs.c (mutually_exclusive_aux) [ENABLE_CHECKING]: Fix if --- 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, return true; /* Presumably already checked elsewhere. */ eassert (loop_entry && p2 >= loop_entry); if (p2 < loop_entry || (loop_exit && p2 > loop_exit)) - /* The assumptions about the shape of the code aren't true :-( */ + { /* The assumptions about the shape of the code aren't true :-( */ #ifdef ENABLE_CHECKING - error ("Broken assumption in regex.c:mutually_exclusive_aux"); + error ("Broken assumption in regex.c:mutually_exclusive_aux"); #endif - return false; + return false; + } /* Skip over open/close-group commands. If what follows this loop is a ...+ construct,