aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv/ghdllocal.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-06-24 22:07:30 +0200
committerTristan Gingold <tgingold@free.fr>2019-06-25 18:12:07 +0200
commitcd012609781465b65bbe3b1ef8e1fe4fa9c8398d (patch)
tree3ad4716784b36ec3a990524bc0a530440c8a3d76 /src/ghdldrv/ghdllocal.ads
parent2cc51506353d819639dcfce2d4e9bb9407a67a6d (diff)
downloadghdl-cd012609781465b65bbe3b1ef8e1fe4fa9c8398d.tar.gz
ghdl-cd012609781465b65bbe3b1ef8e1fe4fa9c8398d.tar.bz2
ghdl-cd012609781465b65bbe3b1ef8e1fe4fa9c8398d.zip
Error_Msg_Option: do not raise exception.
Diffstat (limited to 'src/ghdldrv/ghdllocal.ads')
-rw-r--r--src/ghdldrv/ghdllocal.ads5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ghdldrv/ghdllocal.ads b/src/ghdldrv/ghdllocal.ads
index 0a903a129..553ebfda0 100644
--- a/src/ghdldrv/ghdllocal.ads
+++ b/src/ghdldrv/ghdllocal.ads
@@ -18,6 +18,7 @@
with GNAT.OS_Lib; use GNAT.OS_Lib;
with Ghdlmain; use Ghdlmain;
with Vhdl.Nodes; use Vhdl.Nodes;
+with Options; use Options;
package Ghdllocal is
-- Init procedure for the functionnal interface.
@@ -25,7 +26,7 @@ package Ghdllocal is
-- Handle:
-- --std=xx, --work=xx, -Pxxx, --workdir=x, --ieee=x, -Px, and -v
- function Decode_Driver_Option (Opt : String) return Boolean;
+ function Decode_Driver_Option (Opt : String) return Option_State;
type Command_Lib is abstract new Command_Type with null record;
@@ -36,7 +37,7 @@ package Ghdllocal is
procedure Decode_Option (Cmd : in out Command_Lib;
Option : String;
Arg : String;
- Res : out Option_Res);
+ Res : out Option_State);
-- Disp detailled help.
procedure Disp_Long_Help (Cmd : Command_Lib);