summaryrefslogtreecommitdiff
path: root/gcc/ada/back_end.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-08 11:25:14 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-08 11:25:14 +0000
commitabc1c7367f2daa619b80129dd927520829f81364 (patch)
tree88053a6d7785910fc709250c80ca10f27c43f8a6 /gcc/ada/back_end.adb
parent4c9b9920409e7bd03f1e77b36b597bbc5d825494 (diff)
downloadgcc-abc1c7367f2daa619b80129dd927520829f81364.tar.gz
* back_end.adb (Scan_Back_End_Switches): Accept --param.
* lang-specs.h: Accept --param. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91876 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/back_end.adb')
-rw-r--r--gcc/ada/back_end.adb5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/ada/back_end.adb b/gcc/ada/back_end.adb
index ede3f8b2097..13a7c7215e0 100644
--- a/gcc/ada/back_end.adb
+++ b/gcc/ada/back_end.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1992-2003 Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2004 Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -207,11 +207,12 @@ package body Back_End is
Last := Last - 1;
end if;
- -- For dumpbase and o, skip following argument and do not
+ -- For these switches, skip following argument and do not
-- store either the switch or the following argument
if Switch_Chars (First .. Last) = "o"
or else Switch_Chars (First .. Last) = "dumpbase"
+ or else Switch_Chars (First .. Last) = "-param"
then
Next_Arg := Next_Arg + 1;