gnatcmd.adb (GNATCmd): Accept switch -aP for commands that accept switch -P
authorVincent Celier <celier@adacore.com>
Wed, 6 Jun 2007 10:29:31 +0000 (12:29 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 6 Jun 2007 10:29:31 +0000 (12:29 +0200)
commit53a0bb66e7774fc5edc40aa840315248a937b62b
tree7fb0da022b54cc4f85561f7ebcd4dd5626ed8821
parentf38df0e11608009b95e0332b9fbab26eb593095c
gnatcmd.adb (GNATCmd): Accept switch -aP for commands that accept switch -P

2007-04-20  Vincent Celier  <celier@adacore.com>

* gnatcmd.adb (GNATCmd): Accept switch -aP for commands that accept
switch -P
(ASIS_Main): New global variable
(Get_Closure): New procedure
(GNATCmd): Set ASIS_Main when -P and -U with a main is used for gnat
check, metric or pretty. Call Get_Closure in this case.
(Check_Files): For GNAT LIST, check all sources of all projects when
All_Projects is True.
(GNATCmd): Accept -U for GNAT LIST

From-SVN: r125416
gcc/ada/gnatcmd.adb