gnatcmd.adb (B_Start): Add prefix of binder generated file.
authorJose Ruiz <ruiz@adacore.com>
Fri, 6 Apr 2007 09:22:40 +0000 (11:22 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 6 Apr 2007 09:22:40 +0000 (11:22 +0200)
commitdf777314f1fcc8cce837e8c86c56d60425fe875c
tree728c0e48acae89c929bea240ac7785541055714d
parentcf6ba14a7b33298f8478ce1b42ed8dac21ce4284
gnatcmd.adb (B_Start): Add prefix of binder generated file.

2007-04-06  Jose Ruiz  <ruiz@adacore.com>
    Vincent Celier  <celier@adacore.com>

* gnatcmd.adb (B_Start): Add prefix of binder generated file.
(Stack_String): Add this String that contains the name of the Stack
package in the project file.
(Packages_To_Check_By_Stack): Add this list that contains the packages
to be checked by gnatstack, which are the naming and the stack packages.
(Check_Files): If no .ci files were specified for gnatstack we add all
the .ci files belonging to the projects, including binder generated
files.
(Non_VMS_Usage): Document that gnatstack accept project file switches.
(GNATCmd): Update the B_Start variable if we are in a VMS environment.
Add gnatstack to the list of commands that use project file related
switches, and get the single attribute Switches from the stack package
in a project file when calling gnatstack. Parse the -U flag for
processing files belonging to all projects in the project tree.
Remove all processing for command Setup

* prj-attr.adb: Add new package Stack with single attribute Switches

* vms_conv.ads (Command_Type): Add command Stack.
Move to body declarations that are only used in the body: types Item_Id,
Translation_Type, Item_Ptr, Item and its subtypes.

* vms_conv.adb: (Initialize): Add data for new command Stack.
Add declarations moved from the spec: types Item_Id, Translation_Type,
Item_Ptr, Item and its subtypes.
(Cargs_Buffer): New table
(Cargs): New Boolean global variable
(Process_Buffer): New procedure to create arguments
(Place): Put character in table Buffer or Cargs_Buffer depending on the
 value of Cargs.
(Process_Argument): Set Cargs when processing qualifiers for GNAT
COMPILE
(VMS_Conversion): Call Process_Buffer for table Buffer and, if it is not
empty, for table Cargs_Buffer.
(Initialize): Remove component Setup in Command_List

From-SVN: r123575
gcc/ada/gnatcmd.adb
gcc/ada/prj-attr.adb
gcc/ada/vms_conv.adb
gcc/ada/vms_conv.ads