From aab4b1deeb1962074002daa6678dd69320614ae3 Mon Sep 17 00:00:00 2001 From: h-east Date: Wed, 13 Aug 2025 12:39:13 +0900 Subject: [PATCH 1/2] Update develop.{txt,jax} --- doc/develop.jax | 14 ++++++++++---- en/develop.txt | 12 +++++++++--- 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/doc/develop.jax b/doc/develop.jax index 92ab3bbf0..6a702dd6b 100644 --- a/doc/develop.jax +++ b/doc/develop.jax @@ -1,4 +1,4 @@ -*develop.txt* For Vim バージョン 9.1. Last change: 2025 Aug 10 +*develop.txt* For Vim バージョン 9.1. Last change: 2025 Aug 11 VIMリファレンスマニュアル by Bram Moolenaar @@ -333,10 +333,16 @@ VAX V7.3 では Compaq C V6.4-005 を使用してビルドする必要がある `C95` (ISO/IEC 9899:1990/AMD1:1995) -さらに、以下の 2 つの `C99` 機能が明示的に許可される: +さらに、以下の `C99` の機能が明示的に許可される: - |style-comments| で要求される `//` コメント。 - - `_Bool` 型。 - - 論理行には最大 4095 文字を含めることができる。 + - ブロック内に宣言とステートメントが混在。 + - 可変長マクロ `(..., __VA_ARGS__)`。 + - `enum` リストの末尾のカンマ。 + - `_Bool` 型 (`bool`、`true`、`false` 用)。 + - `__func__` 定義済み識別子。 + - `inline` 関数 (移植性のために `static inline` を使用)。 + - 複合リテラル `(type){ 初期化子リスト }`。 + - 論理ソース行は最大 4095 文字。 プラットフォーム固有のコードでは、そのプラットフォームでサポートされている新し いコンパイラ機能が使用される場合がある。 diff --git a/en/develop.txt b/en/develop.txt index e31e3573e..deb40445e 100644 --- a/en/develop.txt +++ b/en/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. From 0f848eb72342fc678e015fa25313fc9122de0767 Mon Sep 17 00:00:00 2001 From: h-east Date: Wed, 13 Aug 2025 16:18:33 +0900 Subject: [PATCH 2/2] fix by nvcheck --- doc/develop.jax | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/develop.jax b/doc/develop.jax index 6a702dd6b..d4553043d 100644 --- a/doc/develop.jax +++ b/doc/develop.jax @@ -337,7 +337,7 @@ VAX V7.3 では Compaq C V6.4-005 を使用してビルドする必要がある - |style-comments| で要求される `//` コメント。 - ブロック内に宣言とステートメントが混在。 - 可変長マクロ `(..., __VA_ARGS__)`。 - - `enum` リストの末尾のカンマ。 + - `enum` リストの末尾のコンマ。 - `_Bool` 型 (`bool`、`true`、`false` 用)。 - `__func__` 定義済み識別子。 - `inline` 関数 (移植性のために `static inline` を使用)。