summaryrefslogtreecommitdiff
path: root/sem.adb
diff options
context:
space:
mode:
authorTristan Gingold2014-01-04 11:20:24 +0100
committerTristan Gingold2014-01-04 11:20:24 +0100
commit071b3291e88f05bc06d91fe4ebe88582292d3f0d (patch)
tree9cad198d401c6aa8db4d7cc7912cd577c6457f64 /sem.adb
parent1c91baed947d3db1f9141a8fec77b644cf0a29f9 (diff)
downloadghdl-071b3291e88f05bc06d91fe4ebe88582292d3f0d.tar.gz
ghdl-071b3291e88f05bc06d91fe4ebe88582292d3f0d.tar.bz2
ghdl-071b3291e88f05bc06d91fe4ebe88582292d3f0d.zip
Fix various minor bugs: alias of access type, subprograms in entity, active
attribute in sensitivity list, missing dependence, and block_statement in expanded name.
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);