Fix name mangling for @(private) entities

This commit is contained in:
gingerBill
2020-04-15 21:58:16 +01:00
parent 1e321cd48c
commit 602a651613
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -516,6 +516,8 @@ String lb_mangle_name(lbModule *m, Entity *e) {
require_suffix_id = true;
} else if (is_blank_ident(e->token)) {
require_suffix_id = true;
}if (e->flags & EntityFlag_NotExported) {
require_suffix_id = true;
}
if (require_suffix_id) {