Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

隐含规则搜索算法有些翻译错误(相对于GNU make手册) #57

Merged
merged 1 commit into from
May 1, 2024

Conversation

WarningRoo
Copy link
Contributor

  • 该算法仅针对隐含规则的匹配,L484 添加了 隐含 二字予以明确;

  • 匹配规则第5/6条(L494/L503):
    原描述:对于第一个在列表中的模式规则;
    实际上应该是:对于列表中的每一个模式规则:
    GNU Make手册原文:For each pattern rule in the list

  • 匹配规则第2条,L491 按照GNU make手册,添加了补充性描述,原文如下:
    If the target pattern contains a slash, it is matched against t; otherwise, against n.
    翻译为:如果目标模式包含斜杠,则用该模式匹配T;否则匹配N。

  • 规则5.2 L497/498 别字修改 以及 翻译错误修改是“每一个”而不是”第一个“
    别字:如果目标模式中没有包含 斜框 字符,——修改为斜杠,前后保持一致
    翻译错误:而把D加在 第一个 依赖文件的开头。——修改为每一个

@seisman seisman merged commit 84cc2da into seisman:main May 1, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants