Subject: Re: [Uncrustify-developer] reindenting with uncrustify, maybe...

From: Jim Meyering <[email-masked]>
Date: Mon, 31 May 2010 13:24:16 +0200

Jim Meyering wrote:
> Use this as ~/.uncrustify.cfg:
> --------------------------------------------------------------

I've just noticed this error in my .cfg file.
Don't know if adding the "#" changes anything.
The lack should at least provoke a config-file parse error.

diff --git a/.uncrustify.cfg b/.uncrustify.cfg
index a4cab0d..07fbc6e 100644
--- a/.uncrustify.cfg
+++ b/.uncrustify.cfg
@@ -82,7 +82,7 @@ sp_func_proto_paren		= force	# "int foo ();" vs "int foo();"

 eat_blanks_before_close_brace	= TRUE
 eat_blanks_after_open_brace	= TRUE
-nl_enum_leave_one_liners = TRUE Don't split one-line 'enum foo { BAR = 15 };'
+nl_enum_leave_one_liners = TRUE # Don't split one-line 'enum foo { BAR = 15 };'
 sp_sizeof_paren = force # Add between 'sizeof' and '('

 # no align