summaryrefslogtreecommitdiffstats
path: root/runtime/doc/develop.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-02-01 22:37:05 +0100
committerBram Moolenaar <Bram@vim.org>2016-02-01 22:37:05 +0100
commit5e9b2fa9bb0e6061cf18457c173cd141a5dc9c92 (patch)
tree7d43f24e26507bdf133aa825e5f6ada25669985b /runtime/doc/develop.txt
parent488a130ea261f02317adc2c2ca93cc6e68cf2c23 (diff)
Updated runtime files and translations.
Diffstat (limited to 'runtime/doc/develop.txt')
-rw-r--r--runtime/doc/develop.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/runtime/doc/develop.txt b/runtime/doc/develop.txt
index 34ff38d15c..c58d35ea65 100644
--- a/runtime/doc/develop.txt
+++ b/runtime/doc/develop.txt
@@ -1,4 +1,4 @@
-*develop.txt* For Vim version 7.4. Last change: 2016 Jan 19
+*develop.txt* For Vim version 7.4. Last change: 2016 Jan 31
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -322,7 +322,8 @@ OK: if (cond)
cmd;
}
-Functions start with:
+Use ANSI (new style) function declarations with the return type on a separate
+indented line.
Wrong: int function_name(int arg1, int arg2)
@@ -340,8 +341,6 @@ OK: /*
local = arg1 * arg2;
-NOTE: Don't use ANSI style function declarations. A few people still have to
-use a compiler that doesn't support it.
SPACES AND PUNCTUATION *style-spaces*