Commit 289176c9 by Pascal Obry Committed by Arnaud Charlet

prj-nmsc.adb: Keep Object and Exec directory casing.

2008-07-31  Pascal Obry  <obry@adacore.com>

	* prj-nmsc.adb: Keep Object and Exec directory casing.

From-SVN: r138417
parent d7831fdb
...@@ -6170,7 +6170,7 @@ package body Prj.Nmsc is ...@@ -6170,7 +6170,7 @@ package body Prj.Nmsc is
(Project, (Project,
In_Tree, In_Tree,
Name_Find, Name_Find,
Data.Directory.Name, Data.Directory.Display_Name,
Data.Object_Directory.Name, Data.Object_Directory.Name,
Data.Object_Directory.Display_Name, Data.Object_Directory.Display_Name,
Create => "object", Create => "object",
...@@ -6213,7 +6213,7 @@ package body Prj.Nmsc is ...@@ -6213,7 +6213,7 @@ package body Prj.Nmsc is
(Project, (Project,
In_Tree, In_Tree,
File_Name_Type (Exec_Dir.Value), File_Name_Type (Exec_Dir.Value),
Data.Directory.Name, Data.Directory.Display_Name,
Data.Exec_Directory.Name, Data.Exec_Directory.Name,
Data.Exec_Directory.Display_Name, Data.Exec_Directory.Display_Name,
Create => "exec", Create => "exec",
...@@ -6323,8 +6323,7 @@ package body Prj.Nmsc is ...@@ -6323,8 +6323,7 @@ package body Prj.Nmsc is
Source_Dir := Source_Dirs.Values; Source_Dir := Source_Dirs.Values;
while Source_Dir /= Nil_String loop while Source_Dir /= Nil_String loop
Element := Element := In_Tree.String_Elements.Table (Source_Dir);
In_Tree.String_Elements.Table (Source_Dir);
Find_Source_Dirs Find_Source_Dirs
(File_Name_Type (Element.Value), Element.Location); (File_Name_Type (Element.Value), Element.Location);
Source_Dir := Element.Next; Source_Dir := Element.Next;
...@@ -6344,8 +6343,7 @@ package body Prj.Nmsc is ...@@ -6344,8 +6343,7 @@ package body Prj.Nmsc is
Source_Dir := Excluded_Source_Dirs.Values; Source_Dir := Excluded_Source_Dirs.Values;
while Source_Dir /= Nil_String loop while Source_Dir /= Nil_String loop
Element := Element := In_Tree.String_Elements.Table (Source_Dir);
In_Tree.String_Elements.Table (Source_Dir);
Find_Source_Dirs Find_Source_Dirs
(File_Name_Type (Element.Value), (File_Name_Type (Element.Value),
Element.Location, Element.Location,
...@@ -6449,6 +6447,7 @@ package body Prj.Nmsc is ...@@ -6449,6 +6447,7 @@ package body Prj.Nmsc is
if not Prj.Util.Is_Valid (File) then if not Prj.Util.Is_Valid (File) then
Error_Msg (Project, In_Tree, "file does not exist", Location); Error_Msg (Project, In_Tree, "file does not exist", Location);
else else
-- Read the lines one by one -- Read the lines one by one
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment