Page MenuHomeFreeBSD

D2842.id6275.diff
No OneTemporary

D2842.id6275.diff

Index: share/man/man9/style.9
===================================================================
--- share/man/man9/style.9
+++ share/man/man9/style.9
@@ -503,13 +503,14 @@
.Pp
Space after keywords
.Pq Ic if , while , for , return , switch .
-No braces
+Two styles of braces
.Ql ( \&{
and
.Ql \&} )
-are
-used for control statements with zero or only a single statement unless that
-statement is more than a single line in which case they are permitted.
+are allowed for single line statements.
+Either they are used for all single statements, or
+they are used only where needed for clarity.
+Usage within a file should be consistent.
Forever loops are done with
.Ic for Ns 's ,
not

File Metadata

Mime Type
text/plain
Expires
Fri, May 15, 6:31 PM (15 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33094230
Default Alt Text
D2842.id6275.diff (694 B)

Event Timeline