[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-indent] I want to remove casting spaces even if I uses custom type
[Bug-indent] I want to remove casting spaces even if I uses custom types with typedef
Tue, 31 Dec 2002 12:24:20 +0900
I like GNU indent very much. it's fantastic for programmer.
I have a question. I want to remove casting spaces even if I uses custom
types with typedef.
My indent option is like following and the GNU indent version is 2.2.8.
indent -bad -bap -bbb -bbo -nbc -bl -bli0 -bls -c33 -cbi2 -cd33 -cdb
-ncdw -nce -ci2 -cli2 -cp33 -ncs -d0 -nbfda -di2 -fc1 -fca -nhnl -i2
-ip0 -l78 -c78 -lp -nlps -npcs -pi2 -nprs -psl -saf -sai -saw -sbi0 -sc
-sob -ss -ts2 -nut
I tried to indent following code.
typedef char oh_char;
func(oh_char ** a)
ch = *(oh_char **) a;
But I can't remove the space between "**" and "a". And I can't remove
the space between "(oh_char **)" and "a".
How can I remove that space? when I use primitive types ( int, char,
short, . . . ) it's ok. And when I use struct or enum, it's ok. But when
I use custom types with typedef, I can't remove space.
Happy New Year.
Taeho Oh ( address@hidden, address@hidden )
Postech ( Pohang University of Science and Technology )
|[Prev in Thread]
||[Next in Thread]|
- [Bug-indent] I want to remove casting spaces even if I uses custom types with typedef,
Taeho Oh <=