runtime(doc): allow more C99 features
Commit:
https://github.com/vim/vim/commit/d1833d2827659d6176ac0607779fda3ebfee8ddc
Author: Damien Lejay <[email protected]>
Date: Mon Aug 11 20:50:46 2025 +0200
runtime(doc): allow more C99 features
closes: https://github.com/vim/vim/issues/17965
Signed-off-by: Damien Lejay <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/doc/develop.txt b/runtime/doc/develop.txt
index e31e3573e..deb40445e 100644
--- a/runtime/doc/develop.txt
+++ b/runtime/doc/develop.txt
@@ -1,4 +1,4 @@
-*develop.txt* For Vim version 9.1. Last change: 2025 Aug 10
+*develop.txt* For Vim version 9.1. Last change: 2025 Aug 11
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -340,8 +340,14 @@ Therefore, the latest ISO C standard we follow is:
In addition, the following `C99` features are explicitly allowed:
- `//` comments, as required by |style-comments|;
- - the `_Bool` type.
- - logical lines may contain up to 4095 characters;
+ - Mixed declarations and statements in a block;
+ - Variadic macros `(..., __VA_ARGS__)`;
+ - Trailing comma in `enum` lists;
+ - `_Bool` type (for `bool`, `true` and `false`);
+ - `__func__` predefined identifier;
+ - `inline` functions (use `static inline` for portability);
+ - Compound literals `(type){ initializer-list }`;
+ - Logical source lines up to 4095 characters.
Platform-specific code may use any newer compiler features supported on that
platform.
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1ulXkZ-008y33-C8%40256bit.org.