diff options
author | gingold | 2006-04-04 21:48:23 +0000 |
---|---|---|
committer | gingold | 2006-04-04 21:48:23 +0000 |
commit | 024122adc0a5dba2fce2110dceb9ad4378031839 (patch) | |
tree | b28e1eda01fe3b2fd22ded5e5a3ebea5a1170bf6 | |
parent | 6b6c24061f574e4dd5ece78ed78632c28da0b090 (diff) | |
download | ghdl-024122adc0a5dba2fce2110dceb9ad4378031839.tar.gz ghdl-024122adc0a5dba2fce2110dceb9ad4378031839.tar.bz2 ghdl-024122adc0a5dba2fce2110dceb9ad4378031839.zip |
handle --warn-no-
-rw-r--r-- | flags.adb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -76,10 +76,10 @@ package body Flags is Libraries.Add_Library_Path (Opt (Beg + 2 .. Opt'Last)); elsif Opt'Length > 10 and then Opt (Beg .. Beg + 9) = "--workdir=" then Libraries.Set_Work_Library_Path (Opt (Beg + 10 .. Opt'Last)); - elsif Opt'Length > 7 and then Opt (Beg .. Beg + 6) = "--warn-" then - return Option_Warning (Opt (Beg + 7 .. Opt'Last), True); elsif Opt'Length > 10 and then Opt (Beg .. Beg + 9) = "--warn-no-" then return Option_Warning (Opt (Beg + 10 .. Opt'Last), False); + elsif Opt'Length > 7 and then Opt (Beg .. Beg + 6) = "--warn-" then + return Option_Warning (Opt (Beg + 7 .. Opt'Last), True); elsif Opt'Length > 7 and then Opt (Beg .. Beg + 6) = "--work=" then declare use Name_Table; |