aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv/ghdlmain.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2018-10-19 05:12:20 +0200
committerTristan Gingold <tgingold@free.fr>2018-10-21 08:03:38 +0200
commit1803f976121985c6e8e7506c9b959e8d2b5f718c (patch)
treec590acb9a797c28b01adc40cf5b00b5b017c799c /src/ghdldrv/ghdlmain.adb
parentf910e02797a83d0c5748768d20359a3d95569cc7 (diff)
downloadghdl-1803f976121985c6e8e7506c9b959e8d2b5f718c.tar.gz
ghdl-1803f976121985c6e8e7506c9b959e8d2b5f718c.tar.bz2
ghdl-1803f976121985c6e8e7506c9b959e8d2b5f718c.zip
Pass time-resolution to grt.
Use time-resolution for Put_Time. Use time-resolution for --stop-time (Parse_Time). Use time-resolution as VpiTimePrecision and for vcd. TODO: ghw (but needs to update ghwlib and gtkwave) Fix #672
Diffstat (limited to 'src/ghdldrv/ghdlmain.adb')
-rw-r--r--src/ghdldrv/ghdlmain.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ghdldrv/ghdlmain.adb b/src/ghdldrv/ghdlmain.adb
index 81337af50..da23ea47f 100644
--- a/src/ghdldrv/ghdlmain.adb
+++ b/src/ghdldrv/ghdlmain.adb
@@ -354,6 +354,8 @@ package body Ghdlmain is
Error ("unknown option '" & Arg.all & "' for command '"
& Cmd_Name.all & "'");
raise Option_Error;
+ when Option_Err =>
+ raise Option_Error;
when Option_Ok =>
Arg_Index := Arg_Index + 1;
when Option_Arg_Req =>