summaryrefslogtreecommitdiff
path: root/src/grt/grt-errors.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/grt/grt-errors.adb')
-rw-r--r--src/grt/grt-errors.adb3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/grt/grt-errors.adb b/src/grt/grt-errors.adb
index 66dfbf1..62ee86e 100644
--- a/src/grt/grt-errors.adb
+++ b/src/grt/grt-errors.adb
@@ -48,8 +48,7 @@ package body Grt.Errors is
procedure Exit_Simulation is
begin
- -- -2 is Grt.Errors.Run_Stop
- Maybe_Return_Via_Longjump (-2);
+ Maybe_Return_Via_Longjump (Run_Stop);
Internal_Error ("exit_simulation");
end Exit_Simulation;