Andreas Krennmair:
[apps/madmutt.git] / regex.c
diff --git a/regex.c b/regex.c
index 9db19c5..f15550c 100644 (file)
--- a/regex.c
+++ b/regex.c
@@ -2426,11 +2426,13 @@ static reg_errcode_t regex_compile (pattern, size, syntax, bufp)
         if (syntax & RE_NO_BK_PARENS)
           goto normal_backslash;
 
         if (syntax & RE_NO_BK_PARENS)
           goto normal_backslash;
 
-        if (COMPILE_STACK_EMPTY)
-          if (syntax & RE_UNMATCHED_RIGHT_PAREN_ORD)
+        if (COMPILE_STACK_EMPTY) {
+          if (syntax & RE_UNMATCHED_RIGHT_PAREN_ORD) {
             goto normal_backslash;
             goto normal_backslash;
-          else
+          } else {
             FREE_STACK_RETURN (REG_ERPAREN);
             FREE_STACK_RETURN (REG_ERPAREN);
+          }
+        }
 
       handle_close:
         if (fixup_alt_jump) {   /* Push a dummy failure point at the end of the
 
       handle_close:
         if (fixup_alt_jump) {   /* Push a dummy failure point at the end of the
@@ -2445,11 +2447,13 @@ static reg_errcode_t regex_compile (pattern, size, syntax, bufp)
         }
 
         /* See similar code for backslashed left paren above.  */
         }
 
         /* See similar code for backslashed left paren above.  */
-        if (COMPILE_STACK_EMPTY)
-          if (syntax & RE_UNMATCHED_RIGHT_PAREN_ORD)
+        if (COMPILE_STACK_EMPTY) {
+          if (syntax & RE_UNMATCHED_RIGHT_PAREN_ORD) {
             goto normal_char;
             goto normal_char;
-          else
+          } else {
             FREE_STACK_RETURN (REG_ERPAREN);
             FREE_STACK_RETURN (REG_ERPAREN);
+          }
+        }
 
         /* Since we just checked for an empty stack above, this
            ``can't happen''.  */
 
         /* Since we just checked for an empty stack above, this
            ``can't happen''.  */