summaryrefslogtreecommitdiff
path: root/sem.adb
diff options
context:
space:
mode:
Diffstat (limited to 'sem.adb')
-rw-r--r--sem.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/sem.adb b/sem.adb
index 5dca800..be97ac6 100644
--- a/sem.adb
+++ b/sem.adb
@@ -2309,6 +2309,7 @@ package body Sem is
return;
end if;
Libraries.Load_Design_Unit (Prefix_Name, Clause);
+ Add_Dependence (Prefix_Name);
when others =>
Error_Msg_Sem ("prefix must designate a package or a library",
Prefix);