GNU bug report logs - #6318
reindenting with uncrustify, maybe...

Previous Next

Package: coreutils;

Reported by: Jim Meyering <jim <at> meyering.net>

Date: Mon, 31 May 2010 11:04:01 UTC

Severity: wishlist

Tags: notabug

Full log


View this message in rfc822 format

From: Jim Meyering <jim <at> meyering.net>
To: bug-coreutils <at> gnu.org
Cc: uncrustify-developer <at> lists.sourceforge.net
Subject: bug#6318: [Uncrustify-developer] reindenting with uncrustify, maybe...
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




This bug report was last modified 13 years and 333 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.