diff options
Diffstat (limited to 'gcc/ada/prj-nmsc.adb')
-rw-r--r-- | gcc/ada/prj-nmsc.adb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/ada/prj-nmsc.adb b/gcc/ada/prj-nmsc.adb index c3b6ed5a8b3..751dab8dd08 100644 --- a/gcc/ada/prj-nmsc.adb +++ b/gcc/ada/prj-nmsc.adb @@ -3156,6 +3156,7 @@ package body Prj.Nmsc is if not Dir_Exists then if Directories_Must_Exist_In_Projects then + -- Get the absolute name of the library directory that does -- not exist, to report an error. @@ -3211,8 +3212,8 @@ package body Prj.Nmsc is File_Name_Type (Dir_Elem.Value); Error_Msg (Data.Flags, - "library directory cannot be the same " & - "as source directory {", + "library directory cannot be the same " + & "as source directory {", Lib_Dir.Location, Project); OK := False; exit; @@ -3246,8 +3247,8 @@ package body Prj.Nmsc is Error_Msg (Data.Flags, - "library directory cannot be the same" & - " as source directory { of project %%", + "library directory cannot be the same " + & "as source directory { of project %%", Lib_Dir.Location, Project); OK := False; exit Project_Loop; |