Skip to content

Commit cb56b68

Browse files
authored
Merge pull request #2241 from h-east/update-develop
Update develop.{txt,jax}
2 parents 4adbdfe + 8879ef5 commit cb56b68

File tree

2 files changed

+32
-29
lines changed

2 files changed

+32
-29
lines changed

doc/develop.jax

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*develop.txt* For Vim バージョン 9.1. Last change: 2025 Jul 22
1+
*develop.txt* For Vim バージョン 9.1. Last change: 2025 Aug 10
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -303,11 +303,11 @@ Vim のメイン Makefile は最大限の移植性を目指しており、POSIX.
303303
定義された機能のみに依存し、それ以降の POSIX 標準や GNU/BSD 拡張は無視してい
304304
る。具体的には、以下の点を避けている。
305305

306-
% パターンルール
307-
POSIX.1-2001 外のモダンなな代入 (`:=`, `::=`)
308-
特別なターゲット (`.ONESHELL`, `.NOTPARALLEL`, `.SILENT`, )
309-
順序のみの前提条件 (`|`) または自動ディレクトリ作成
310-
GNU/BSD 条件文 (`ifdef`, `ifndef`, `.for`/`.endfor`, )
306+
- % パターンルール
307+
- POSIX.1-2001 外のモダンな代入 (`:=`, `::=`)
308+
- 特別なターゲット (`.ONESHELL`, `.NOTPARALLEL`, `.SILENT`, ...)
309+
- 順序のみの前提条件 (`|`) または自動ディレクトリ作成
310+
- GNU/BSD 条件文 (`ifdef`, `ifndef`, `.for`/`.endfor`, ...)
311311

312312
POSIX.1-2001 は従来のサフィックスルールのみをサポートしているため、別ディレク
313313
トリに構築されるすべてのオブジェクトには明示的なルールが必要である。例:
@@ -334,20 +334,22 @@ VAX V7.3 では Compaq C V6.4-005 を使用してビルドする必要がある
334334
`C95` (ISO/IEC 9899:1990/AMD1:1995)
335335

336336
さらに、以下の 2 つの `C99` 機能が明示的に許可される:
337-
|style-comments| で要求される `//` コメント。
338-
`_Bool` 型。
337+
- |style-comments| で要求される `//` コメント。
338+
- `_Bool` 型。
339+
- 論理行には最大 4095 文字を含めることができる。
339340

340341
プラットフォーム固有のコードでは、そのプラットフォームでサポートされている新し
341342
いコンパイラ機能が使用される場合がある。
342343

343344

344345
☆変数のサイズ *assumptions-variables*
345346

346-
char 8-bit signed
347-
char_u 8-bit unsigned
348-
int 32- or 64-bit signed (レガシーシステムでは 16-bit が可能)
349-
unsigned 32- or 64-bit unsigned
350-
long 少なくとも 32-bit signed (ポインタを保持できる十分な大きさ)
347+
型のサイズについては POSIX.1-2001 (SUSv3) に従う。これは実際には以下のことを意
348+
味する:
349+
350+
char_u 8-bit unsigned
351+
int 32-bit またはそれ以上の signed
352+
unsigned 32-bit またはそれ以上の unsigned
351353

352354

353355
==============================================================================

en/develop.txt

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*develop.txt* For Vim version 9.1. Last change: 2025 Jul 22
1+
*develop.txt* For Vim version 9.1. Last change: 2025 Aug 10
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -291,8 +291,8 @@ initialized from words listed in COMMON items in the affix file, so that it
291291
also works when starting a new file.
292292

293293
This isn't ideal, because the longer Vim is running the higher the counts
294-
become. But in practice it is a noticeable improvement over not using the word
295-
count.
294+
become. But in practice it is a noticeable improvement over not using the
295+
word count.
296296

297297
==============================================================================
298298
3. Assumptions *design-assumptions*
@@ -308,11 +308,11 @@ Vim's main Makefiles target maximum portability, relying solely on features
308308
defined in POSIX.1-2001 `make` and ignoring later POSIX standards or GNU/BSD
309309
extensions. In practical terms, avoid:
310310

311-
% pattern rules
312-
modern assignment (`:=`, `::=`) outside POSIX.1-2001
313-
special targets (`.ONESHELL`, `.NOTPARALLEL`, `.SILENT`, )
314-
order-only prerequisites (`|`) or automatic directory creation
315-
GNU/BSD conditionals (`ifdef`, `ifndef`, `.for`/`.endfor`, )
311+
- % pattern rules
312+
- modern assignment (`:=`, `::=`) outside POSIX.1-2001
313+
- special targets (`.ONESHELL`, `.NOTPARALLEL`, `.SILENT`, ...)
314+
- order-only prerequisites (`|`) or automatic directory creation
315+
- GNU/BSD conditionals (`ifdef`, `ifndef`, `.for`/`.endfor`, ...)
316316

317317
Since POSIX.1-2001 supports only traditional suffix rules, every object built
318318
in a separate directory must have an explicit rule. For example:
@@ -338,21 +338,22 @@ Therefore, the latest ISO C standard we follow is:
338338

339339
`C95` (ISO/IEC 9899:1990/AMD1:1995)
340340

341-
In addition, the following two `C99` features are explicitly allowed:
342-
`//` comments, as required by |style-comments|;
343-
– the `_Bool` type.
341+
In addition, the following `C99` features are explicitly allowed:
342+
- `//` comments, as required by |style-comments|;
343+
- the `_Bool` type.
344+
- logical lines may contain up to 4095 characters;
344345

345346
Platform-specific code may use any newer compiler features supported on that
346347
platform.
347348

348349

349350
SIZE OF VARIABLES *assumptions-variables*
350351

351-
char 8-bit signed
352-
char_u 8-bit unsigned
353-
int 32- or 64-bit signed (16-bit possible on legacy systems)
354-
unsigned 32- or 64-bit unsigned
355-
long at least 32-bit signed (large enough to hold a pointer)
352+
We follow POSIX.1-2001 (SUSv3) for type sizes, which in practice means:
353+
354+
char_u 8-bit unsigned
355+
int 32-bit or larger signed
356+
unsigned 32-bit or larger unsigned
356357

357358

358359
==============================================================================

0 commit comments

Comments
 (0)