On 16 Jun 2020, at 19:11, Ed Maste wrote:
On Tue, 16 Jun 2020 at 13:01, Ian Lepore <i...@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.

We have 431 instances of `for (int i` in sys alone. It’s not so much a question of allowing it as acknowledging reality at this point.

Best regards,
Kristof
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to