Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jun 2020 13:11:24 -0400
From:      Ed Maste <emaste@freebsd.org>
To:        Ian Lepore <ian@freebsd.org>
Cc:        Toomas Soome <tsoome@freebsd.org>, src-committers <src-committers@freebsd.org>,  svn-src-all <svn-src-all@freebsd.org>, svn-src-head <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r362217 - head/stand/common
Message-ID:  <CAPyFy2D1mhkxR00BGB1Ufn3PLRe%2Bb-t%2Bz_bgss=7am%2Bn3inWjw@mail.gmail.com>
In-Reply-To: <55903c38d363aef2a6f6d0075dd4526b86d51258.camel@freebsd.org>
References:  <202006160705.05G753T4057972@repo.freebsd.org> <55903c38d363aef2a6f6d0075dd4526b86d51258.camel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 16 Jun 2020 at 13:01, Ian Lepore <ian@freebsd.org> wrote:
>
> As much as I prefer doing it this way, style(9) doesn't allow for
> variable declarations inside a for() statement (or even inside a local
> block, which is just too 1980s for me, but it is still our standard).

Perhaps it's time to update style(9) to at least permit these uses, as
we've done with the blank line at the beginning of functions with no
local variables, and with braces around single-line bodies.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2D1mhkxR00BGB1Ufn3PLRe%2Bb-t%2Bz_bgss=7am%2Bn3inWjw>