diff --git a/Documentation/NuttXCCodingStandard.html b/Documentation/NuttXCCodingStandard.html index 857f2fbcb0..97f346a8a8 100644 --- a/Documentation/NuttXCCodingStandard.html +++ b/Documentation/NuttXCCodingStandard.html @@ -12,7 +12,7 @@
Last Updated: August 7, 2017
+Last Updated: August 21, 2018
@@ -405,11 +405,23 @@Line Spacing A single blank line should precede and follow each comment. - The only exceptions are (1) for the file header block comment that begins on line one; - there is no preceding blank line in that case. - And (2) for conditional compilation. - Conditional compilation should include the conditional logic and all comments associated with the conditional logic. - In this case, the blank line appears before the conditional, not after it. + The only exceptions are: +
+@@ -425,6 +437,13 @@ #ifdef CONFIG_THE_IMPOSSIBLE the_impossible(); #endif + + if (a == b) + { + + /* Only a comment */ + + } |
@@ -444,6 +463,11 @@ the_impossible(); #endif + + if (a == b) + { + /* Only a comment */ + } |