mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-18 03:42:23 -07:00
Begin to generalize modules away from AstPackage * in -use-separate-modules
This commit is contained in:
@@ -74,7 +74,7 @@ gb_internal lbProcedure *lb_create_procedure(lbModule *m, Entity *entity, bool i
|
||||
String link_name = {};
|
||||
|
||||
if (ignore_body) {
|
||||
lbModule *other_module = lb_pkg_module(m->gen, entity->pkg);
|
||||
lbModule *other_module = lb_module_of_entity(m->gen, entity);
|
||||
link_name = lb_get_entity_name(other_module, entity);
|
||||
} else {
|
||||
link_name = lb_get_entity_name(m, entity);
|
||||
|
||||
Reference in New Issue
Block a user