aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/iirs_utils.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2015-01-10 06:51:02 +0100
committerTristan Gingold <tgingold@free.fr>2015-01-10 06:51:02 +0100
commit2c498db7b2702d3ad762c5a35c23bb41538331b7 (patch)
treebe271050334c14aed09c29a2d24750829a811430 /src/vhdl/iirs_utils.adb
parent91af32964eb22b8fe42551a1fa48c7637563fa55 (diff)
downloadghdl-2c498db7b2702d3ad762c5a35c23bb41538331b7.tar.gz
ghdl-2c498db7b2702d3ad762c5a35c23bb41538331b7.tar.bz2
ghdl-2c498db7b2702d3ad762c5a35c23bb41538331b7.zip
vhdl08: block configuration for if-generate statements.
Diffstat (limited to 'src/vhdl/iirs_utils.adb')
-rw-r--r--src/vhdl/iirs_utils.adb3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vhdl/iirs_utils.adb b/src/vhdl/iirs_utils.adb
index db100e438..b492a9139 100644
--- a/src/vhdl/iirs_utils.adb
+++ b/src/vhdl/iirs_utils.adb
@@ -834,6 +834,9 @@ package body Iirs_Utils is
return Get_Named_Entity (Get_Prefix (Block_Spec));
when Iir_Kind_Simple_Name =>
return Get_Named_Entity (Block_Spec);
+ when Iir_Kind_Parenthesis_Name =>
+ -- An alternative label.
+ return Get_Named_Entity (Block_Spec);
when others =>
Error_Kind ("get_block_from_block_specification", Block_Spec);
return Null_Iir;