Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2001:
[Freeciv-Dev] Re: [PATCH] Corecleanup_07Part2 has been put in incoming
Home

[Freeciv-Dev] Re: [PATCH] Corecleanup_07Part2 has been put in incoming

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rf13@xxxxxxxxxxxxxxxxxxxxxx
Cc: jdorje@xxxxxxxxxxxxxxxxxxxxx, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [PATCH] Corecleanup_07Part2 has been put in incoming
From: Gaute B Strokkenes <gs234@xxxxxxxxx>
Date: Sun, 02 Sep 2001 23:32:01 +0200

>> > I will not rearrange the _end macro by hand after an indent run
>> > over a code section.
>> 
>> What's your point?
> 
> I run indent over all sections I change before I commit a patch.

Personally I prefer to make a unified diff and inspect it, rather than
going with indent blindly.  But in any case:

donald:~$ cat > test.c
int foo(int a)
{
  adjc_iterate(x, y, x1, y1) {
    a++;
  } adjc_iterate_end;
}
donald:~$ indent -kr -i2 test.c
donald:~$ cat test.c
int foo(int a)
{
  adjc_iterate(x, y, x1, y1) {
    a++;
  } adjc_iterate_end;
}
donald:~$ indent --version
GNU indent 2.2.6

Does your indent do something else?

-- 
Big Gaute                               http://www.srcf.ucam.org/~gs234/
Hey, I LIKE that POINT!!


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