diff options
Diffstat (limited to 'doc/coding-style')
-rw-r--r-- | doc/coding-style | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/coding-style b/doc/coding-style index 87a918f..e4c9996 100644 --- a/doc/coding-style +++ b/doc/coding-style @@ -101,6 +101,9 @@ the c-hanging-comment-starter-p and the c-hanging-comment-ender-p variables to nil. This will be done by the tentative "krb5" style for the emacs cc-mode. +Since we are mostly aiming for C '89 compatibility, don't use "//" +comments. + Spaces go after keywords, but not after function names. Do not, however, put a space after sizeof. Don't put a space after a cast operator, either. Spaces also do not go before parentheses that are |