From 628582294c3695f271c738d1459d57b239e04487 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 21 Mar 2018 06:21:36 +0100 Subject: Add test for architecture declarative region nested in entity's one. --- src/vhdl/sem.adb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vhdl') 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; -- cgit v1.2.3