mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-14 09:52:23 -07:00
VarDecl and ConstDecl split; error, warning, et al. now global
This commit is contained in:
@@ -67,6 +67,9 @@ struct Entity {
|
||||
};
|
||||
|
||||
b32 is_entity_exported(Entity *e) {
|
||||
if (e->kind == Entity_ImportName) {
|
||||
return false;
|
||||
}
|
||||
// TODO(bill): Do I really want non-exported entities?
|
||||
// if (e->token.string.len >= 1 &&
|
||||
// e->token.string.text[0] == '_') {
|
||||
|
||||
Reference in New Issue
Block a user