diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-14 09:26:32 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-14 09:26:32 +0000 |
commit | b57aca15075c072f15e0007c9d4ea8ce59ba5f9a (patch) | |
tree | 055b171a2b1f8340a0d798c1977eb41e2c6c9c32 /gcc/ada/gnatcmd.adb | |
parent | e17bd27cc4d265efe526fd0f99e1827e305fe09c (diff) | |
download | gcc-b57aca15075c072f15e0007c9d4ea8ce59ba5f9a.tar.gz |
2010-06-14 Robert Dewar <dewar@adacore.com>
* gnatcmd.adb, sem_util.adb, exp_ch3.adb: Minor reformatting
2010-06-14 Ed Schonberg <schonberg@adacore.com>
* sem_ch12.adb (Save_References): If an identifier has been rewritten
during analysis as an explicit dereference, keep the reference implicit
in the generic, but preserve the entity if global. This prevents
malformed generic trees in the presence of some nested generics.
2010-06-14 Sergey Rybin <rybin@adacore.com>
* gnat_ugn.texi: For the GNAT driver, clarify the effect of calling the
tool with '-files=' option. Also fix some small errors (wrong brackets)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160716 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/gnatcmd.adb')
-rw-r--r-- | gcc/ada/gnatcmd.adb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/ada/gnatcmd.adb b/gcc/ada/gnatcmd.adb index c462806225b..01685e33ea2 100644 --- a/gcc/ada/gnatcmd.adb +++ b/gcc/ada/gnatcmd.adb @@ -318,8 +318,8 @@ procedure GNATCmd is -- there is a -files= switch. for Index in 1 .. Last_Switches.Last loop - if Last_Switches.Table (Index).all'Length > 7 and then - Last_Switches.Table (Index) (1 .. 7) = "-files=" + if Last_Switches.Table (Index).all'Length > 7 + and then Last_Switches.Table (Index) (1 .. 7) = "-files=" then Add_Sources := False; exit; @@ -353,13 +353,13 @@ procedure GNATCmd is end if; end loop; - -- If all arguments are switchesand there is no switch -files=, add the - -- path names of all the sources of the main project. + -- If all arguments are switches and there is no switch -files=, add + -- the path names of all the sources of the main project. if Add_Sources then - -- For gnatcheck, gnatpp and gnatmetric , create a temporary file and - -- put the list of sources in it. + -- For gnatcheck, gnatpp and gnatmetric , create a temporary file + -- and put the list of sources in it. if The_Command = Check or else The_Command = Pretty or else |