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
2022-11-03 12:58:26 +00:00
committed by GitHub
8 changed files with 7 additions and 8 deletions

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));
}
}
}