Merge pull request #1544 from FancyKillerPanda/build_ignore

Changed `//+ignore` to `//+build ignore` and emit a warning for unknown tags
This commit is contained in:
gingerBill authored and GitHub committed 2022-11-03 12:58:26 +00:00
commit f7211408fc
8 files changed
+7 -8

No files matched your search

+2
View File
@@ -5634,6 +5634,8 @@ bool parse_file(Parser *p, AstFile *f) {
} else {
f->flags |= AstFile_IsLazy;
}
} else {
warning(tok, "Ignoring unknown tag '%.*s'", LIT(lc));
}
}
}