aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gnatcmd.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2009-05-06 10:29:29 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2009-05-06 10:29:29 +0200
commit7dd1ab8497bdb14e30bce8d94214be7afc6e9a90 (patch)
tree92e562ce450f003b116a2eac024ad66f8c5d5ce8 /gcc/ada/gnatcmd.adb
parent28541488914f27ad9763a02c2cc786cf786399d2 (diff)
downloadgcc-7dd1ab8497bdb14e30bce8d94214be7afc6e9a90.zip
gcc-7dd1ab8497bdb14e30bce8d94214be7afc6e9a90.tar.gz
gcc-7dd1ab8497bdb14e30bce8d94214be7afc6e9a90.tar.bz2
[multiple changes]
2009-05-06 Thomas Quinot <quinot@adacore.com> * sem_ch3.adb (Access_Type_Declaration): An access type whose designated type is a limited view from a limited with clause (flagged From_With_Type) is not itself such a limited view. 2009-05-06 Emmanuel Briot <briot@adacore.com> * prj-nmsc.adb: Remove unused variable. * clean.adb, gnatcmd.adb, makeutl.ads, prj-pars.adb, prj-pars.ads, prj-proc.ads, prj.ads, switch-m.adb (Subdirs_Option): Moved to makeutl.ads, since not all users of prj.ads need this. From-SVN: r147152
Diffstat (limited to 'gcc/ada/gnatcmd.adb')
-rw-r--r--gcc/ada/gnatcmd.adb12
1 files changed, 7 insertions, 5 deletions
diff --git a/gcc/ada/gnatcmd.adb b/gcc/ada/gnatcmd.adb
index 8310cd2..8194a42 100644
--- a/gcc/ada/gnatcmd.adb
+++ b/gcc/ada/gnatcmd.adb
@@ -987,7 +987,7 @@ procedure GNATCmd is
Last_Switches.Table (Index).all);
end loop;
- -- One switch for the standard GNAT library dir.
+ -- One switch for the standard GNAT library dir
Last_Switches.Increment_Last;
Last_Switches.Table
@@ -1660,15 +1660,17 @@ begin
-- --subdirs=... Specify Subdirs
- if Argv'Length > Subdirs_Option'Length and then
+ if Argv'Length > Makeutl.Subdirs_Option'Length and then
Argv
- (Argv'First .. Argv'First + Subdirs_Option'Length - 1) =
- Subdirs_Option
+ (Argv'First ..
+ Argv'First + Makeutl.Subdirs_Option'Length - 1) =
+ Makeutl.Subdirs_Option
then
Subdirs :=
new String'
(Argv
- (Argv'First + Subdirs_Option'Length .. Argv'Last));
+ (Argv'First + Makeutl.Subdirs_Option'Length ..
+ Argv'Last));
Remove_Switch (Arg_Num);