diff options
author | Tristan Gingold <tgingold@free.fr> | 2021-04-07 21:36:34 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2021-04-07 21:37:37 +0200 |
commit | 927454548c6044c6a7383d8cc447bdfb39141ced (patch) | |
tree | b709d885ae27baa1f64a70366960cab7419719fd | |
parent | 68a7f85cdfe59115710ccd07358509c6163c78f0 (diff) | |
download | ghdl-927454548c6044c6a7383d8cc447bdfb39141ced.tar.gz ghdl-927454548c6044c6a7383d8cc447bdfb39141ced.tar.bz2 ghdl-927454548c6044c6a7383d8cc447bdfb39141ced.zip |
vhdl-sem_decls.adb: handle both anonymous signal and signal attribute. Fix #1715
-rw-r--r-- | src/vhdl/vhdl-sem_decls.adb | 2 |
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. |