Build tag to make all declarations within a file private to the package //+private

This commit is contained in:
gingerBill
2021-02-23 20:40:48 +00:00
parent 731e6ca3a6
commit 8f9111e552
4 changed files with 10 additions and 3 deletions

View File

@@ -5176,6 +5176,8 @@ bool parse_file(Parser *p, AstFile *f) {
if (!parse_build_tag(tok, lc)) {
return false;
}
} else if (lc == "+private") {
f->is_private = true;
}
}
}