aboutsummaryrefslogtreecommitdiffstats
path: root/sem_expr.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2014-06-26 07:56:54 +0200
committerTristan Gingold <tgingold@free.fr>2014-06-26 07:56:54 +0200
commit7fe7bdb1b5b0250c213526208a03445f58fba92d (patch)
tree7e210a0838c15943b6f69d2096bbe2405d68745d /sem_expr.adb
parent8b3ec6b7edf3aedbe7084609881571d1603e9621 (diff)
downloadghdl-7fe7bdb1b5b0250c213526208a03445f58fba92d.tar.gz
ghdl-7fe7bdb1b5b0250c213526208a03445f58fba92d.tar.bz2
ghdl-7fe7bdb1b5b0250c213526208a03445f58fba92d.zip
add more support for vhdl2008: aliases, visibility and preliminary work for
generic packages.
Diffstat (limited to 'sem_expr.adb')
-rw-r--r--sem_expr.adb5
1 files changed, 4 insertions, 1 deletions
diff --git a/sem_expr.adb b/sem_expr.adb
index 0814355c3..33addfde6 100644
--- a/sem_expr.adb
+++ b/sem_expr.adb
@@ -1696,7 +1696,10 @@ package body Sem_Expr is
raise Internal_Error;
end if;
- -- If DECL has already been seen, then skip it.
+ -- LRM08 12.3 Visibility
+ -- [...] or all visible declarations denote the same named entity.
+ --
+ -- GHDL: If DECL has already been seen, then skip it.
if Get_Seen_Flag (Decl) then
goto Next;
end if;