aboutsummaryrefslogtreecommitdiffstats
path: root/sem_specs.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2014-02-23 18:36:46 +0100
committerTristan Gingold <tgingold@free.fr>2014-02-23 18:36:46 +0100
commit5858c7755d7f98e74f6d1fa0de2db47e2af35065 (patch)
treeb22fe17a87d14bba4684aeedf84c166c3f22ee6f /sem_specs.adb
parent09e3c9734fa7453b586f9fb5dbfa6b2f7567eaa6 (diff)
downloadghdl-5858c7755d7f98e74f6d1fa0de2db47e2af35065.tar.gz
ghdl-5858c7755d7f98e74f6d1fa0de2db47e2af35065.tar.bz2
ghdl-5858c7755d7f98e74f6d1fa0de2db47e2af35065.zip
Add comments.
Diffstat (limited to 'sem_specs.adb')
-rw-r--r--sem_specs.adb4
1 files changed, 3 insertions, 1 deletions
diff --git a/sem_specs.adb b/sem_specs.adb
index 64599613b..73275f697 100644
--- a/sem_specs.adb
+++ b/sem_specs.adb
@@ -947,6 +947,7 @@ package body Sem_Specs is
if New_Entity = Null_Iir then
return Null_Iir;
end if;
+ -- Note: dependency is added by Find_Declaration.
Set_Entity (Aspect, New_Entity);
-- Check architecture.
@@ -959,7 +960,7 @@ package body Sem_Specs is
end if;
-- FIXME: may emit a warning if the architecture does not
- -- exists.
+ -- exist.
-- Note: the design needs the architecture.
Add_Dependence (Aspect);
end if;
@@ -970,6 +971,7 @@ package body Sem_Specs is
return Null_Iir;
end if;
+ -- Note: dependency is added by Find_Declaration.
Set_Configuration (Aspect, Conf);
Libraries.Load_Design_Unit (Conf, Aspect);