aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2018-03-21 06:21:36 +0100
committerTristan Gingold <tgingold@free.fr>2018-03-21 06:21:36 +0100
commit628582294c3695f271c738d1459d57b239e04487 (patch)
treefd7627c33acf8bcc292ee92dc3fba387878b17f1 /src
parent7b59cea4fbf1efa72860216d6b1cd49af7109fe0 (diff)
downloadghdl-628582294c3695f271c738d1459d57b239e04487.tar.gz
ghdl-628582294c3695f271c738d1459d57b239e04487.tar.bz2
ghdl-628582294c3695f271c738d1459d57b239e04487.zip
Add test for architecture declarative region nested in entity's one.
Diffstat (limited to 'src')
-rw-r--r--src/vhdl/sem.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vhdl/sem.adb b/src/vhdl/sem.adb
index 6c2810d53..a19d66179 100644
--- a/src/vhdl/sem.adb
+++ b/src/vhdl/sem.adb
@@ -198,6 +198,8 @@ package body Sem is
-- considered to occur immediatly within the declarative region
-- associated with the entity declaration corresponding to the given
-- architecture body.
+ --
+ -- GHDL: this is only in vhdl-2002.
if Vhdl_Std = Vhdl_02 then
Open_Declarative_Region;
end if;