diff --git a/dstyle.dd b/dstyle.dd index c9938d47d3..2c40cc4bdb 100644 --- a/dstyle.dd +++ b/dstyle.dd @@ -296,7 +296,7 @@ $(H4 $(LNAME2 phobos_line_length, Line length)) 80 characters long but that they $(I can) exceed 80 characters when appropriate. However, they can $(I never) exceed 120 characters.) $(LISTSECTION phobos_whitespace, Whitespace, - $(LI Put a space after `for`, `foreach`, `if`, and `while`: ) + $(LI Put a space after `for`, `foreach`, `if`, `while`, and `version`: ) ------------------------------- for (…) { … } foreach (…) { … } @@ -304,9 +304,10 @@ if (x) { … } static if (x) { … } while (…) { … } do { … } while (…); +version (…) { … } ------------------------------- - $(LI Chains containing `else if (…)` or `else static if (…)` should set the - keywords on the same line:) + $(LI Chains containing `else if (…)`, `else static if (…)` or `else version (…)` + should set the keywords on the same line:) ------------------------------- if (…) {