|
From: | Martin Kirsche |
Subject: | Re: How to avoid misformatting of binary values with GNU indent? |
Date: | Fri, 27 Nov 2009 11:02:51 +0100 |
User-agent: | Thunderbird 2.0.0.23 (Windows/20090812) |
Thanks! indent schrieb:
On 26/11/09 13:15, Martin Kirsche wrote: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?No intent doesn't support C derivatives: that construct isn't C. Try the hexadecimal 0X55 or octal 0125 which are part of C.
[Prev in Thread] | Current Thread | [Next in Thread] |