[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
white space after star unexpected
From: |
Lin Ming |
Subject: |
white space after star unexpected |
Date: |
Tue, 17 Jun 2008 13:56:41 +0800 |
Hi,
When indent a C file with some "typedef struct", indent adds a
unexpected whitespace after "*".
# cat test1.c
typedef struct mystruct s;
void test(s *p);
# indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs test1.c
# cat test1.c
typedef struct mystruct s;
void test(s * p);
^Here is an unexpected white space
# cat test2.c
typedef struct mystruct s;
void foo()
{
return;
}
s test(struct mystruct *p);
# indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs test2.c
# cat test2.c
typedef struct mystruct s;
void foo()
{
return;
}
s test(struct mystruct * p);
^Here is an unexpected white space
Thanks,
Lin Ming
- white space after star unexpected,
Lin Ming <=
- Re: white space after star unexpected, david ingamells, 2008/06/17
- Re: white space after star unexpected, Lin Ming, 2008/06/18
- Re: white space after star unexpected, david ingamells, 2008/06/18
- RE: white space after star unexpected, Moore, Robert, 2008/06/18
- Re: white space after star unexpected, david ingamells, 2008/06/18
- RE: white space after star unexpected, Moore, Robert, 2008/06/19
- RE: white space after star unexpected, John Hein, 2008/06/19
- RE: white space after star unexpected, Moore, Robert, 2008/06/20
- RE: white space after star unexpected, John E Hein, 2008/06/19
- RE: white space after star unexpected, Moore, Robert, 2008/06/20