aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-07-04 18:22:14 +0200
committerTristan Gingold <tgingold@free.fr>2019-07-04 18:22:14 +0200
commit9b70a1f0bf970706a62dc14e382c91f3616ab51c (patch)
tree3f3b966e1d28776f0352f36fcba18f9193c8075c
parent0fb5ba4c814aaee2646e68b7039be1d1b092c15b (diff)
downloadghdl-9b70a1f0bf970706a62dc14e382c91f3616ab51c.tar.gz
ghdl-9b70a1f0bf970706a62dc14e382c91f3616ab51c.tar.bz2
ghdl-9b70a1f0bf970706a62dc14e382c91f3616ab51c.zip
libghdlsynth: catch all exceptions.
-rw-r--r--src/synth/libghdlsynth.adb3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/synth/libghdlsynth.adb b/src/synth/libghdlsynth.adb
index d9d844de1..0931b48b6 100644
--- a/src/synth/libghdlsynth.adb
+++ b/src/synth/libghdlsynth.adb
@@ -52,6 +52,9 @@ package body Libghdlsynth is
exception
when Option_Error =>
return No_Module;
+ when others =>
+ -- Avoid possible issues with exceptions...
+ return No_Module;
end Synth;
Gnat_Version : constant String := "unknown compiler version" & ASCII.NUL;