On Mon, Dec 06, 2004 at 09:07:02AM +0100, Lars Gullik Bjønnes wrote: > Alfredo Braunstein <[EMAIL PROTECTED]> writes: > > | + int max_depth = beg != 0 ? pars_[beg - 1].getMaxDepthAfter() : 0; > > Please add some parenthesis: int m = (foo ? dfd : fdf); > Even if not needed it is a tiny bit clearer.
Could you please add that to the coding style rules. IIRC the general rule is to avoid unnecessary braces in general but I agree that this is a case where the unnecessary braces might even be preferable. Andre'