summaryrefslogtreecommitdiff
path: root/src/grt/ghdl_main.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/grt/ghdl_main.adb')
-rw-r--r--src/grt/ghdl_main.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/grt/ghdl_main.adb b/src/grt/ghdl_main.adb
index ce5b67d..2d1a008 100644
--- a/src/grt/ghdl_main.adb
+++ b/src/grt/ghdl_main.adb
@@ -32,6 +32,7 @@ with Grt.Types; use Grt.Types;
pragma Warnings (Off);
with Grt.Rtis_Binding;
with Grt.Std_Logic_1164;
+with Grt.Errors;
pragma Warnings (On);
@@ -57,5 +58,5 @@ begin
Grt_Init;
Grt.Main.Run;
- return 0;
+ return Grt.Errors.Exit_Status;
end Ghdl_Main;