bug-indent
[Top][All Lists]
Advanced

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

How to avoid misformatting of binary values with GNU indent?


From: Martin Kirsche
Subject: How to avoid misformatting of binary values with GNU indent?
Date: Thu, 26 Nov 2009 13:15:40 +0100
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

When GNU indent (at least version 2.2.6 from cygwin and 2.2.10 from GnuWin32) is used on the following code...

|void
main ()
{
 int i = 0b01010101;
}
|

it will be reformatted into this ...

|void
main ()
{
 int i = 0 b01010101;
}
|

Is there any option in indent that avoids this behavior?

regards, Martin




reply via email to

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