diff options
author | Tristan Gingold <tgingold@free.fr> | 2015-05-21 07:00:35 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2015-05-21 07:00:35 +0200 |
commit | 3826656eaff634b0349b610f274203b3026d3f87 (patch) | |
tree | 402c0f3537664318e0007f347d3dd59d9eb806d8 /src/grt/grt-errors.ads | |
parent | bd1885c3d60019a28bb8261d8a17cef5533d27f9 (diff) | |
download | ghdl-3826656eaff634b0349b610f274203b3026d3f87.tar.gz ghdl-3826656eaff634b0349b610f274203b3026d3f87.tar.bz2 ghdl-3826656eaff634b0349b610f274203b3026d3f87.zip |
Rework exit handling to correctly report exit status.
Fix ticket 77.
Diffstat (limited to 'src/grt/grt-errors.ads')
-rw-r--r-- | src/grt/grt-errors.ads | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/grt/grt-errors.ads b/src/grt/grt-errors.ads index c797a71bd..33c993226 100644 --- a/src/grt/grt-errors.ads +++ b/src/grt/grt-errors.ads @@ -67,6 +67,7 @@ package Grt.Errors is pragma No_Return (Fatal_Error); pragma Export (C, Fatal_Error, "__ghdl_fatal"); + -- Stop or finish simulation (for VHPI or std.env). Exit_Status : Integer := 0; procedure Exit_Simulation; |