Re: Lindent fixed to match reality

Måns Rullgård
2004-01-29T20:35:21Z

David Weinehall <tao@acc.umu.se> writes:

>> b) (no -bs) "sizeof(foo)" rather than "sizeof (foo)"
>
> I can't really see the logic in this, though I know a lot of people do
> it. I try to stay consistent, thus I do:
>
> if ()
> for ()
> case ()
> while ()
> sizeof ()
> typeof ()
>
> since they're all parts of the language, rather than
> functions/macros or invocations of such.

What I fail to see here is why that should make a difference regarding
whitespace before the parens.

--
Måns Rullgård
mru@kth.se