aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl')
-rw-r--r--src/vhdl/vhdl-sem_decls.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-sem_decls.adb b/src/vhdl/vhdl-sem_decls.adb
index 99a3fffde..913d889fc 100644
--- a/src/vhdl/vhdl-sem_decls.adb
+++ b/src/vhdl/vhdl-sem_decls.adb
@@ -94,6 +94,8 @@ package body Vhdl.Sem_Decls is
-- Declarative region was completely analyzed. Just append DECL
-- at the end of declarations.
Insert_Implicit_Signal (Current_Signals_Region.Last_Decl);
+ Current_Signals_Region.Last_Decl :=
+ Current_Signals_Region.Implicit_Decl;
end if;
else
-- Append SIG.