file changes twice and improperly inserts leading space
"Daniel M. Drucker" <[email protected]> Sat, 15 Dec 2012 11:23:13 -0500
| Newsgroups | gmane.comp.gnu.indent.bugs |
|---|---|
| Message-ID | <CAD1EtogJiGFk2L9K_vFi140-RuSXiBbJywawb0oThzqNOHNo_g@mail.gmail.com> |
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