aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/sem_names.adb
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2016-09-09 18:22:14 +0100
committerTristan Gingold <tgingold@free.fr>2016-09-12 20:23:02 +0200
commit02a0d7d0212cf0e277c880219022a0b7d951228f (patch)
tree95b0816952b9445f74ddcc9aba9105a89744c566 /src/vhdl/sem_names.adb
parenta694689b24bb60c04bb0919f6a290a592758ebd4 (diff)
downloadghdl-02a0d7d0212cf0e277c880219022a0b7d951228f.tar.gz
ghdl-02a0d7d0212cf0e277c880219022a0b7d951228f.tar.bz2
ghdl-02a0d7d0212cf0e277c880219022a0b7d951228f.zip
Handle expanded name for interface package.
Diffstat (limited to 'src/vhdl/sem_names.adb')
-rw-r--r--src/vhdl/sem_names.adb7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/vhdl/sem_names.adb b/src/vhdl/sem_names.adb
index 18d0ee338..ad13eb5ba 100644
--- a/src/vhdl/sem_names.adb
+++ b/src/vhdl/sem_names.adb
@@ -387,7 +387,8 @@ package body Sem_Names is
null;
when Iir_Kind_Package_Declaration =>
null;
- when Iir_Kind_Package_Instantiation_Declaration =>
+ when Iir_Kind_Package_Instantiation_Declaration
+ | Iir_Kind_Interface_Package_Declaration =>
Iterator_Decl_Chain (Get_Generic_Chain (Decl), Id);
when Iir_Kind_Block_Statement =>
declare
@@ -450,7 +451,8 @@ package body Sem_Names is
end loop;
end;
when Iir_Kind_Package_Declaration
- | Iir_Kind_Package_Instantiation_Declaration =>
+ | Iir_Kind_Package_Instantiation_Declaration
+ | Iir_Kind_Interface_Package_Declaration =>
Iterator_Decl_Chain (Get_Declaration_Chain (Decl), Id);
when Iir_Kind_Process_Statement
| Iir_Kind_Sensitized_Process_Statement =>
@@ -1986,6 +1988,7 @@ package body Sem_Names is
| Iir_Kind_Entity_Declaration
| Iir_Kind_Package_Declaration
| Iir_Kind_Package_Instantiation_Declaration
+ | Iir_Kind_Interface_Package_Declaration
| Iir_Kind_If_Generate_Statement
| Iir_Kind_For_Generate_Statement
| Iir_Kind_Block_Statement