diff options
Diffstat (limited to 'gcc/ada/prj-nmsc.ads')
-rw-r--r-- | gcc/ada/prj-nmsc.ads | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/gcc/ada/prj-nmsc.ads b/gcc/ada/prj-nmsc.ads index ae05c5f0174..7918ea1546c 100644 --- a/gcc/ada/prj-nmsc.ads +++ b/gcc/ada/prj-nmsc.ads @@ -33,10 +33,11 @@ private package Prj.Nmsc is -- language summary of the implementation ??? procedure Check - (Project : Project_Id; - In_Tree : Project_Tree_Ref; - Report_Error : Put_Line_Access; - Follow_Links : Boolean); + (Project : Project_Id; + In_Tree : Project_Tree_Ref; + Report_Error : Put_Line_Access; + Follow_Links : Boolean; + When_No_Sources : Error_Warning); -- Check the object directory and the source directories -- -- Check the library attributes, including the library directory if any @@ -57,5 +58,8 @@ private package Prj.Nmsc is -- any file duplicated through symbolic links (although the latter are -- still valid if they point to a file which is outside of the project), -- and that no directory has a name which is a valid source name. + -- + -- When_No_Ada_Sources indicates what should be done when no Ada sources + -- are found in a project where Ada is a language. end Prj.Nmsc; |