[Freeciv-Dev] Indentation in switch()
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Some people have mentioned that they would like to see case fields
indented in switch statements a la
switch (i) {
case 0:
break;
case 1:
{
++i;
}
default:
break;
}
This is not compatible with indent -kr -i2
The best I could achieve is to have
switch (i) {
case 0:
break;
case 1:
{
++i;
}
default:
break;
}
with indent -kr -i2 -cli1
If you can get better results with indent, let me know.
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.
- [Freeciv-Dev] Indentation in switch(),
Gregory Berkolaiko <=
|
|