bug-indent
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

file changes twice and improperly inserts leading space


From: Daniel M. Drucker
Subject: file changes twice and improperly inserts leading space
Date: Sat, 15 Dec 2012 11:23:13 -0500

In GNU Indent 2.2.10, a file changes twice and improperly inserts a leading
space:

~$ cat changestwice.cpp
void foo::bar() { }

~$ indent changestwice.cpp ; cat changestwice.cpp
void
foo::bar()
{
}

~$ indent changestwice.cpp ; cat changestwice.cpp *# NOTE FILE CHANGES
AGAIN WITH LEADING SPACE ON LINE 2*
void
 foo::bar()
{
}

~$ cat .indent.pro
--k-and-r-style
--procnames-start-lines
--no-tabs
--comment-indentation50
--declaration-comment-column50
--break-before-boolean-operator


reply via email to

[Prev in Thread] Current Thread [Next in Thread]