From cc9bfcafb9cb9efa606d0ac5747a4600d5ccafcb Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 21 Sep 2023 11:58:44 -0400 Subject: [PATCH] * src/regex-emacs.c (mutually_exclusive_aux) [ENABLE_CHECKING]: Fix if --- src/regex-emacs.c | 7 ++++--- 1 file 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, 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, -- 2.39.2