patch 9.0.1234: the code style has to be checked manually
Problem: The code style has to be checked manually.
Solution: Add basic code style checks in a test. Fix or avoid uncovered
problems.
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c
index 619cd15..92475ad 100644
--- a/src/regexp_nfa.c
+++ b/src/regexp_nfa.c
@@ -5799,10 +5799,11 @@
goto theend;
}
-#define ADD_STATE_IF_MATCH(state) \
- if (result) { \
- add_state = state->out; \
- add_off = clen; \
+#define ADD_STATE_IF_MATCH(state) \
+ if (result) \
+ { \
+ add_state = state->out; \
+ add_off = clen; \
}
/*