aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2021-04-07 21:36:34 +0200
committerTristan Gingold <tgingold@free.fr>2021-04-07 21:37:37 +0200
commit927454548c6044c6a7383d8cc447bdfb39141ced (patch)
treeb709d885ae27baa1f64a70366960cab7419719fd /src/vhdl
parent68a7f85cdfe59115710ccd07358509c6163c78f0 (diff)
downloadghdl-927454548c6044c6a7383d8cc447bdfb39141ced.tar.gz
ghdl-927454548c6044c6a7383d8cc447bdfb39141ced.tar.bz2
ghdl-927454548c6044c6a7383d8cc447bdfb39141ced.zip
vhdl-sem_decls.adb: handle both anonymous signal and signal attribute. Fix #1715
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.