No bug present here, see the -T option in the manual.
$ indent -st -kr -ncs *-T ULONG* ncs.c
#define unsigned long ULONG
void main()
{
b = (ULONG)a;
}
BTTW: Good programming practice would suggest that it would be better to do
typedef unsigned long ULONG;
instead of using the preprocessor to define it.
D.
On 23/05/10 05:20, ospfer wrote:
> In the follow case, the '-ncs' do not useful.
>
> //// test.c ////////////
> #define unsigned long ULONG
> void main()
> {
> ...
> b = (ULONG)a;
> }
>
> when run "indent.exe -ncs -npcs test.c"
> it's will put a space after "(ULONG)"
>
> b = (ULONG)a; // ----> b = (ULONG)_a;
>
> =========================================
> Plz help me, How can i make the space not be putted when use '-ncs'
>
>
>
>
> _______________________________________________
> bug-indent mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/bug-indent
>
_______________________________________________
bug-indent mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-indent