aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2014-05-29 13:43:47 +0200
committerTristan Gingold <tgingold@free.fr>2014-05-29 13:43:47 +0200
commit192f73f79c4f275a18c398e5f85e12dd5a62391b (patch)
treed3f9e6a94c1eb0d3250d1899f54296bd6703e93a
parentb08709020072e3e4bb71c8dd71e32d498144f7aa (diff)
downloadghdl-192f73f79c4f275a18c398e5f85e12dd5a62391b.tar.gz
ghdl-192f73f79c4f275a18c398e5f85e12dd5a62391b.tar.bz2
ghdl-192f73f79c4f275a18c398e5f85e12dd5a62391b.zip
sem_decls: handle alias of component.
-rw-r--r--sem_decls.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/sem_decls.adb b/sem_decls.adb
index 02ca65919..09042c404 100644
--- a/sem_decls.adb
+++ b/sem_decls.adb
@@ -2011,7 +2011,8 @@ package body Sem_Decls is
when Iir_Kinds_Object_Declaration =>
raise Internal_Error;
when Iir_Kind_Subtype_Declaration
- | Iir_Kind_Attribute_Declaration =>
+ | Iir_Kind_Attribute_Declaration
+ | Iir_Kind_Component_Declaration =>
null;
when Iir_Kind_Terminal_Declaration =>
null;