Rename -ignore-lazy to -internal-ignore-lazy

This commit is contained in:
gingerBill
2021-10-23 17:41:11 +01:00
parent d54b708ba8
commit 2a50f9c8d4
2 changed files with 7 additions and 5 deletions

View File

@@ -5372,8 +5372,7 @@ bool parse_file(Parser *p, AstFile *f) {
// Ignore
} else if (f->flags & AstFile_IsTest) {
// Ignore
} else if (build_context.command_kind == Command_doc &&
f->pkg->kind == Package_Init) {
} else if (f->pkg->kind == Package_Init && build_context.command_kind == Command_doc) {
// Ignore
} else {
f->flags |= AstFile_IsLazy;