aboutsummaryrefslogtreecommitdiffstats
path: root/src/grt/grt-options.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-11-21 08:54:35 +0100
committerTristan Gingold <tgingold@free.fr>2020-11-21 08:54:35 +0100
commita3b1c98ecfe89edb297cf3fbf525120343d63f1d (patch)
treed8f4f37de604c8b10754069265ce7dde79e1dcb6 /src/grt/grt-options.adb
parent277ca7463070d1250a3168ce01762149bd0fb445 (diff)
downloadghdl-a3b1c98ecfe89edb297cf3fbf525120343d63f1d.tar.gz
ghdl-a3b1c98ecfe89edb297cf3fbf525120343d63f1d.tar.bz2
ghdl-a3b1c98ecfe89edb297cf3fbf525120343d63f1d.zip
Ignore plusargs options (that starts with a '+'). For #1517
Diffstat (limited to 'src/grt/grt-options.adb')
-rw-r--r--src/grt/grt-options.adb3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/grt/grt-options.adb b/src/grt/grt-options.adb
index eadca0068..d3d7a260e 100644
--- a/src/grt/grt-options.adb
+++ b/src/grt/grt-options.adb
@@ -239,6 +239,9 @@ package body Grt.Options is
Status := Decode_Option_Ok;
if Option = "--" then
Status := Decode_Option_Last;
+ elsif Option (1) = '+' then
+ -- For VPI/VHPI - plusargs.
+ null;
elsif Option = "--help" or else Option = "-h" then
Help;
Status := Decode_Option_Stop;