From aec8db3cd120e897e7937d21c724393205d572cf Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 5 May 2022 13:26:34 +1000 Subject: [PATCH] tools/uncrustify: Make sure a space exists after a comma. This will add a space after a comma if it doesn't have one, but will allow more than one space if the spaces are already there. Signed-off-by: Damien George --- tools/uncrustify.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/uncrustify.cfg b/tools/uncrustify.cfg index 88127112e8..221fb458e9 100644 --- a/tools/uncrustify.cfg +++ b/tools/uncrustify.cfg @@ -372,7 +372,7 @@ sp_inside_square = ignore # ignore/add/remove/force sp_inside_square_oc_array = ignore # ignore/add/remove/force # Add or remove space after ',', i.e. 'a,b' vs. 'a, b'. -sp_after_comma = ignore # ignore/add/remove/force +sp_after_comma = add # ignore/add/remove/force # Add or remove space before ','. #