This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r111084 - in /trunk/gcc/ada: prj-nmsc.adb prj-n...
- From: charlet at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 15 Feb 2006 09:43:00 -0000
- Subject: r111084 - in /trunk/gcc/ada: prj-nmsc.adb prj-n...
Author: charlet
Date: Wed Feb 15 09:43:00 2006
New Revision: 111084
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111084
Log:
2006-02-13 Vincent Celier <celier@adacore.com>
* prj.ads (Error_Warning): New enumeration type
* prj-nmsc.ads, prj-nmsc.adb (Error_Msg): If location parameter is
unknown, use the location of the project to report the error.
(When_No_Sources): New global variable
(Report_No_Ada_Sources): New procedure
(Check): New parameter When_No_Sources. Set value of global variable
When_No_Sources,
(Find_Sources): Call Report_No_Ada_Sources when appropriate
(Get_Sources_From_File): Ditto
(Warn_If_Not_Sources): Better warning messages indicating the unit name
and the file name.
* prj-pars.ads, prj-pars.adb (Parse): New parameter When_No_Sources.
Call Prj.Proc.Process with parameter When_No_Sources.
* prj-proc.ads, prj-proc.adb (Check): New parameter When_No_Sources.
Call Recursive_Check with parameter When_No_Sources.
(Recursive_Check): New parameter When_No_Sources. Call itself and
Prj.Nmsc.Check with parameter When_No_Sources.
(Process): New parameter When_No_Sources. Call Check with parameter
When_No_Sources.
(Copy_Package_Declarations): New procedure to copy renamed parameters
and setting the location of the declared attributes to the location
of the renamed package.
(Process_Declarative_Items): Call Copy_Package_Declarations for renamed
packages.
Modified:
trunk/gcc/ada/prj-nmsc.adb
trunk/gcc/ada/prj-nmsc.ads
trunk/gcc/ada/prj-pars.adb
trunk/gcc/ada/prj-pars.ads
trunk/gcc/ada/prj-proc.adb
trunk/gcc/ada/prj-proc.ads
trunk/gcc/ada/prj.ads