Set pp_ignore_define_body=false in uncrustify config.

Need to work around a bug that produces closed brace errors,
see https://github.com/uncrustify/uncrustify/issues/2569
This commit is contained in:
Todd C. Miller
2020-11-23 10:47:47 -07:00
parent 7bbd7c8e05
commit bdf5530014
5 changed files with 21 additions and 14 deletions

View File

@@ -75,8 +75,9 @@ char ** create_str_array(size_t count, ...);
printf("FAILED: deitialization of testcase %s at %s:%d\n", #testcase, __FILE__, __LINE__); \
success = 0; \
} \
if (!success) \
if (!success) { \
errors++; \
} \
} while(false)
#define VERIFY_PRINT_MSG(fmt, actual_str, actual, expected_str, expected, expected_to_be_message) \