Yep, you are right. Its just an extension of gcc (see
http://gcc.gnu.org/onlinedocs/gcc/Binary-constants.html) that make it
compile for me.
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.
_______________________________________________
bug-indent mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-indent