Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2001:
[Freeciv-Dev] Re: Indentation in switch()
Home

[Freeciv-Dev] Re: Indentation in switch()

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Petr Baudis <pasky@xxxxxxxxxxx>, rf13@xxxxxxxxxxxxxxxxxxxxxx
Cc: Gregory Berkolaiko <gberkolaiko@xxxxxxxxxxx>, Freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Indentation in switch()
From: Gregory Berkolaiko <gberkolaiko@xxxxxxxxxxx>
Date: Wed, 5 Dec 2001 18:06:29 +0000 (GMT)

 --- Petr Baudis <pasky@xxxxxxxxxxx> wrote: 

> > > with indent -kr -i2 -cli1 
> -cli2 has desired result it looks.

On my indent it gives:

switch (i) {
  case 0:
  break;
  case 1:
  {
    ++i;
  }
  default:
  break;
} 


Is it really desired?

G.

________________________________________________________________
Nokia 5510 looks weird sounds great. 
Go to http://uk.promotions.yahoo.com/nokia/ discover and win it! 
The competition ends 16 th of December 2001.


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