diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-04-12 17:25:12 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-04-12 17:25:51 -0400 |
commit | 08007e45924c15d4930f13c5f8e3bbe627c1a1bc (patch) | |
tree | 2685ab32021a8541b2a318ef937561577ccaf6de /notes | |
parent | 686b7d5a2d72e71bac76bd7ad9f4aae4e95039c5 (diff) | |
download | librambutan-08007e45924c15d4930f13c5f8e3bbe627c1a1bc.tar.gz librambutan-08007e45924c15d4930f13c5f8e3bbe627c1a1bc.zip |
Coding standard.
Fixes for github .rst display.
Diffstat (limited to 'notes')
-rw-r--r-- | notes/coding_standard.rst | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/notes/coding_standard.rst b/notes/coding_standard.rst index b0fa91b..f761db7 100644 --- a/notes/coding_standard.rst +++ b/notes/coding_standard.rst @@ -362,11 +362,11 @@ Documentation General Formatting ------------------ +.. highlight:: scheme + - Keep it 80-column clean. That means Emacs says the largest column number=79. You should turn on column number mode to help you out: -.. highlight:: scheme - (column-number-mode 1) You can get more help from lineker-mode: @@ -379,6 +379,8 @@ General Formatting (dolist (hook '(c-mode-hook c++-mode-hook)) (add-hook hook (lambda () (lineker-mode 1)))) +.. highlight:: cpp + Language Features and Compiler Extensions ----------------------------------------- @@ -391,10 +393,10 @@ Language Features and Compiler Extensions - Explicitly approved GCC extensions: - * asm volatile: + * ``asm volatile``: http://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html - * Nested functions: + * ``Nested functions``: http://gcc.gnu.org/onlinedocs/gcc/Nested-Functions.html - In wirish, generally be very conservative when using C++ features |