aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-prints.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-12-26 07:14:25 +0100
committerTristan Gingold <tgingold@free.fr>2019-12-26 07:14:25 +0100
commit8a5fe99b279b1ce1ea7fe4313a24d0f3a399149d (patch)
treecf14414d9b18d8bb8ec59ac6b89ef8ebc3e28933 /src/vhdl/vhdl-prints.adb
parenta24642ace5f43509c40b5a94927a1cff865f2ece (diff)
downloadghdl-8a5fe99b279b1ce1ea7fe4313a24d0f3a399149d.tar.gz
ghdl-8a5fe99b279b1ce1ea7fe4313a24d0f3a399149d.tar.bz2
ghdl-8a5fe99b279b1ce1ea7fe4313a24d0f3a399149d.zip
vhdl: add Has_Delay_Machanism for optional 'inertial' printing.
Diffstat (limited to 'src/vhdl/vhdl-prints.adb')
-rw-r--r--src/vhdl/vhdl-prints.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-prints.adb b/src/vhdl/vhdl-prints.adb
index d64ea2b96..aa36cd4e0 100644
--- a/src/vhdl/vhdl-prints.adb
+++ b/src/vhdl/vhdl-prints.adb
@@ -2297,6 +2297,8 @@ package body Vhdl.Prints is
Disp_Token (Ctxt, Tok_Reject);
Print (Ctxt, Expr);
Disp_Token (Ctxt, Tok_Inertial);
+ elsif Get_Has_Delay_Mechanism (Stmt) then
+ Disp_Token (Ctxt, Tok_Inertial);
end if;
end case;
end Disp_Delay_Mechanism;