This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Ada] Always put full list of sources in file specified with -file=


When all sources of the project are to be indicated to gnatcheck,
gnatpp or gnatmetric, always specify the list of sources using -files=,
so that the distinction can be made by the tool of a call with no source
(to display the usage) from a call with a project file that contains no
source.
This is only relevant for ASIS tools, so no test.

Tested on x86_64-pc-linux-gnu, committed on trunk

2009-06-21  Vincent Celier  <celier@adacore.com>

	* gnatcmd.adb (Check_Files): When all sources of the project are to be
	indicated to gnatcheck, gnatpp or gnatmetric, always specify the list
	of sources using -files=, so that the distinction can be made by the
	tool of a call with no source (to display the usage) from a call with
	a project file that contains no source.

Attachment: difs
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]