Skip to content

Commit 061c3fa

Browse files
speak-agentclaude
andcommitted
the zh note is placed beside the token table, not in the page's own preamble
The previous commit inserted it at the first paragraph a regular expression matched, which was the page's "not here" line, and left that line reading as the note's opening. Repaired and placed where its English counterpart is: after the token table and before the exit-code paragraph. Co-authored-by: Claude Code <noreply@anthropic.com>
1 parent f7d0fbf commit 061c3fa

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

docs/zh/50-machine-output.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,7 @@
55
**本章回答的那一个问题:**一个程序可以依赖什么、它怎样被版本化、以及协议怎样被
66
识别。
77

8-
**不在这里:**其中一个令牌也由 `mcpp build` 自己打印。** `interface-not-provided` 出现在拒绝消息
9-
里,用方括号包着,与 `E0006` 同一个约定。一条只有人能认出的拒绝,会逼迫每一个机器消费者
10-
去匹配散文——而那种散文,一个包自己的编译错误有可能恰好包含;mcpp-index 的兼容性测量正是
11-
靠这个令牌把「这个图不供给这个成员所要的」与「这个成员没能构建」分开,而这个区分决定了
12-
一个成员算不算进兼容率。
13-
14-
**面向人的输出 —— 它不带任何兼容性承诺;以及退出码契约,那是
8+
**不在这里:**面向人的输出 —— 它不带任何兼容性承诺;以及退出码契约,那是
159
[SPEC-003](../specs/exit-codes.md)
1610

1711
mcpp 面向两类读者。本章是对第二类 —— **程序** —— 的契约。编辑器扩展、CI 脚本,以及任何解析 mcpp 输出的程序,
@@ -373,6 +367,12 @@ mcpp why toolchain [--target <triple>] [--toolchain <spec>] --format json
373367
| `interface-not-provided` | 某个包的 `[kernel-abi] requires-interfaces` 点名了解析出的实现不提供的接口 *(2026.9.20.1+)* |
374368
| `other` | 一处还没有被命名的拒绝分支 |
375369

370+
**其中一个令牌也由 `mcpp build` 自己打印。** `interface-not-provided` 出现在拒绝消息里,
371+
用方括号包着,与 `E0006` 同一个约定。一条只有人能认出的拒绝,会逼迫每一个机器消费者去匹配
372+
散文——而那种散文,一个包自己的编译错误有可能恰好包含;mcpp-index 的兼容性测量正是靠这个
373+
令牌把「这个图不供给这个成员所要的」与「这个成员没能构建」分开,而这个区分决定了一个成员
374+
算不算进兼容率。
375+
376376
**只要问题被回答了就退 0,包括答案是「拒绝」。** 「它能不能构建,不能的话
377377
为什么」被「不能,因为这一行的 pin 是能力陈述」完整地回答了。非零退出的含义是
378378
这次查询本身没跑起来。

0 commit comments

Comments
 (0)