aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl')
-rw-r--r--src/vhdl/canon.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdl/canon.adb b/src/vhdl/canon.adb
index c4fd69969..18aa05956 100644
--- a/src/vhdl/canon.adb
+++ b/src/vhdl/canon.adb
@@ -2579,7 +2579,7 @@ package body Canon is
else
Blk_Spec := Strip_Denoting_Name
(Get_Block_Specification (Blk_Config));
- if Get_Kind (Blk_Spec) /= Iir_Kind_For_Generate_Statement
+ if Get_Kind (Blk_Spec) /= Iir_Kind_Generate_Statement_Body
then
-- There are generate specification with range or
-- expression. Create a default block configuration