aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2021-04-05 16:24:49 +0200
committerTristan Gingold <tgingold@free.fr>2021-04-05 16:24:49 +0200
commit2d7e1ad06f2ff9bf6f6c3ce7d9197e1e7a76df62 (patch)
treef6f61fd072805f7deb0b708191134866f5d8e449 /src
parentdfb71344973b5327611432e7b33429f73f0bd03c (diff)
downloadghdl-2d7e1ad06f2ff9bf6f6c3ce7d9197e1e7a76df62.tar.gz
ghdl-2d7e1ad06f2ff9bf6f6c3ce7d9197e1e7a76df62.tar.bz2
ghdl-2d7e1ad06f2ff9bf6f6c3ce7d9197e1e7a76df62.zip
ghdlsynth.adb: fix a previous commit
Diffstat (limited to 'src')
-rw-r--r--src/ghdldrv/ghdlsynth.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ghdldrv/ghdlsynth.adb b/src/ghdldrv/ghdlsynth.adb
index 0954d3f8e..b0c85ba26 100644
--- a/src/ghdldrv/ghdlsynth.adb
+++ b/src/ghdldrv/ghdlsynth.adb
@@ -379,7 +379,7 @@ package body Ghdlsynth is
Vhdl.Configuration.Add_Verification_Units;
- if Get_Kind (Config) = Iir_Kind_Configuration_Declaration then
+ if Get_Kind (Config) = Iir_Kind_Design_Unit then
-- Check (and possibly abandon) if entity can be at the top of the
-- hierarchy.
declare