aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-sem.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-08-11 05:49:44 +0200
committerTristan Gingold <tgingold@free.fr>2019-08-11 05:49:44 +0200
commita46b01b05ffe8835d5e16af68e0a5ce441d71c08 (patch)
tree55dffd3252c10348de0e3509e0e22bb52acd6f8f /src/vhdl/vhdl-sem.adb
parent184c2eb7f97f412ab6d658271ecacd7b6cae1837 (diff)
downloadghdl-a46b01b05ffe8835d5e16af68e0a5ce441d71c08.tar.gz
ghdl-a46b01b05ffe8835d5e16af68e0a5ce441d71c08.tar.bz2
ghdl-a46b01b05ffe8835d5e16af68e0a5ce441d71c08.zip
vhdl: improve reprint of inertial association.
Diffstat (limited to 'src/vhdl/vhdl-sem.adb')
-rw-r--r--src/vhdl/vhdl-sem.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-sem.adb b/src/vhdl/vhdl-sem.adb
index acd69a86e..daa0395b3 100644
--- a/src/vhdl/vhdl-sem.adb
+++ b/src/vhdl/vhdl-sem.adb
@@ -497,6 +497,7 @@ package body Vhdl.Sem is
Location_Copy (Sig, Actual);
Set_Expression (Sig, Actual);
Set_Type (Sig, Get_Type (Formal));
+ Set_Expr_Staticness (Sig, None);
-- Declare it.
Add_Implicit_Declaration (Sig);
@@ -508,6 +509,7 @@ package body Vhdl.Sem is
Set_Referenced_Name (Res, Sig);
Set_Named_Entity (Res, Sig);
Set_Type (Res, Get_Type (Sig));
+ Set_Expr_Staticness (Res, None);
return Res;
end Sem_Insert_Anonymous_Signal;