From 927454548c6044c6a7383d8cc447bdfb39141ced Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 7 Apr 2021 21:36:34 +0200 Subject: vhdl-sem_decls.adb: handle both anonymous signal and signal attribute. Fix #1715 --- src/vhdl/vhdl-sem_decls.adb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vhdl') 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. -- cgit v1.2.3