bug-indent
[Top][All Lists]
Advanced

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

Expected behavior for -cs and -ncs


From: Ian Carvalho
Subject: Expected behavior for -cs and -ncs
Date: Wed, 23 Jul 2008 12:07:25 +0530
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)

Hi,

What is the expected behavior when the options -cs and -ncs are used.
These are for space after cast and no space after cast.

I would expect -cs to give:
(unsigned char *) ptr;
                ^ - space inserted

and -ncs to give:
(unsigned char *)ptr;
                ^ - no space inserted

Am I missing something as this does not seem to happen with version 2.2.9.
With either -cs or -ncs I am getting the first behavior, ie. with the space
inserted.

Thanks
Ian






reply via email to

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