[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-indent] BUG in indent, About -di
From: |
漂流 |
Subject: |
[Bug-indent] BUG in indent, About -di |
Date: |
Sun, 13 Jul 2003 15:03:19 +0800 |
Cool Programmers:
I have found a bug in the indent.
I use -di16 to put variables in the column 16, will result to things as below:
At first I have a function:
char *test(void)
{
int a, b;
return "Hello, World!";
}
Then I use indent to adjust it, result is:
char *test(void)
{
int a, b;
return "Hello, World!";
}
my function name is at the column 16, why it?, If I delete "*" before
test(void), it is normal, it is:
char test(void)
{
int a, b;
return "Hello, World!";
}
I use script to do it:
#!/bin/bash
/usr/bin/indent -bad -bap -bbb -nbc -bbo -nbfda -br -brs -nbs -c33 -cbi0 -cd33
-cdb \
-cdw -ci8 -cli0 -cp33 -cs -d0 -di16 -fc1 -fca -hnl -i8 -l130 -lc130 \
-lp -npcs -pi4 -pmt -nprs -npsl -saf -sai -saw -sc -nsob -nss -ts8 -ut $1
indent version is:
address@hidden tmp]$ indent --version
GNU indent 2.2.7
Is it a BUG? can you tell me?
Thank you for your cool work!
I use outlook send this email!
address@hidden
2003.07.13
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-indent] BUG in indent, About -di,
漂流 <=