bug-indent
[Top][All Lists]
Advanced

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

Bug report for indent (GNU indent 2.2.11)


From: Con Tameiki
Subject: Bug report for indent (GNU indent 2.2.11)
Date: Mon, 28 Nov 2016 08:55:54 +1100

To the authors of GNU indent:

I have noticed a bug in version 2.2.11 of indent as follows:

Do loops like

do {
   printf("foo");
}
while (1);

are not reformatted to

do {
   printf("foo");
} while (1);

even when using the cuddle option, i.e. indent -cdw foo.c. However, the
cuddle option for else (-br -ce), structs (-brs) and functions (-brf) works.

I am running Ubuntu 16.04 LTS.

Regards,

Con


reply via email to

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