Commit 9c391a21 by Robert Dewar Committed by Arnaud Charlet

prj-nmsc.adb: Minor reformatting

2008-08-01  Robert Dewar  <dewar@adacore.com>

	* prj-nmsc.adb: Minor reformatting

From-SVN: r138494
parent 8ca3bf91
...@@ -1442,7 +1442,7 @@ package body Prj.Nmsc is ...@@ -1442,7 +1442,7 @@ package body Prj.Nmsc is
then then
In_Tree.Languages_Data.Table In_Tree.Languages_Data.Table
(Lang_Index).Config.Dependency_Kind := (Lang_Index).Config.Dependency_Kind :=
Makefile; Makefile;
end if; end if;
List := Element.Value.Values; List := Element.Value.Values;
...@@ -1481,7 +1481,7 @@ package body Prj.Nmsc is ...@@ -1481,7 +1481,7 @@ package body Prj.Nmsc is
In_Tree.Languages_Data.Table In_Tree.Languages_Data.Table
(Lang_Index).Config.Include_Path := (Lang_Index).Config.Include_Path :=
Element.Value.Value; Element.Value.Value;
when Name_Include_Path_File => when Name_Include_Path_File =>
...@@ -1489,7 +1489,7 @@ package body Prj.Nmsc is ...@@ -1489,7 +1489,7 @@ package body Prj.Nmsc is
In_Tree.Languages_Data.Table In_Tree.Languages_Data.Table
(Lang_Index).Config.Include_Path_File := (Lang_Index).Config.Include_Path_File :=
Element.Value.Value; Element.Value.Value;
when Name_Driver => when Name_Driver =>
...@@ -1499,13 +1499,13 @@ package body Prj.Nmsc is ...@@ -1499,13 +1499,13 @@ package body Prj.Nmsc is
In_Tree.Languages_Data.Table In_Tree.Languages_Data.Table
(Lang_Index).Config.Compiler_Driver := (Lang_Index).Config.Compiler_Driver :=
File_Name_Type (Element.Value.Value); File_Name_Type (Element.Value.Value);
when Name_Required_Switches => when Name_Required_Switches =>
Put (Into_List => Put (Into_List =>
In_Tree.Languages_Data.Table In_Tree.Languages_Data.Table
(Lang_Index).Config. (Lang_Index).Config.
Compiler_Required_Switches, Compiler_Required_Switches,
From_List => Element.Value.Values, From_List => Element.Value.Values,
In_Tree => In_Tree); In_Tree => In_Tree);
...@@ -1513,8 +1513,8 @@ package body Prj.Nmsc is ...@@ -1513,8 +1513,8 @@ package body Prj.Nmsc is
begin begin
In_Tree.Languages_Data.Table In_Tree.Languages_Data.Table
(Lang_Index).Config.Path_Syntax := (Lang_Index).Config.Path_Syntax :=
Path_Syntax_Kind'Value Path_Syntax_Kind'Value
(Get_Name_String (Element.Value.Value)); (Get_Name_String (Element.Value.Value));
exception exception
when Constraint_Error => when Constraint_Error =>
...@@ -1596,8 +1596,8 @@ package body Prj.Nmsc is ...@@ -1596,8 +1596,8 @@ package body Prj.Nmsc is
end if; end if;
Put (Into_List => Put (Into_List =>
In_Tree.Languages_Data.Table In_Tree.Languages_Data.Table
(Lang_Index).Config.Config_File_Switches, (Lang_Index).Config.Config_File_Switches,
From_List => List, From_List => List,
In_Tree => In_Tree); In_Tree => In_Tree);
...@@ -1607,7 +1607,7 @@ package body Prj.Nmsc is ...@@ -1607,7 +1607,7 @@ package body Prj.Nmsc is
In_Tree.Languages_Data.Table In_Tree.Languages_Data.Table
(Lang_Index).Config.Objects_Path := (Lang_Index).Config.Objects_Path :=
Element.Value.Value; Element.Value.Value;
when Name_Objects_Path_File => when Name_Objects_Path_File =>
...@@ -1615,7 +1615,7 @@ package body Prj.Nmsc is ...@@ -1615,7 +1615,7 @@ package body Prj.Nmsc is
In_Tree.Languages_Data.Table In_Tree.Languages_Data.Table
(Lang_Index).Config.Objects_Path_File := (Lang_Index).Config.Objects_Path_File :=
Element.Value.Value; Element.Value.Value;
when Name_Config_Body_File_Name => when Name_Config_Body_File_Name =>
...@@ -1623,7 +1623,7 @@ package body Prj.Nmsc is ...@@ -1623,7 +1623,7 @@ package body Prj.Nmsc is
In_Tree.Languages_Data.Table In_Tree.Languages_Data.Table
(Lang_Index).Config.Config_Body := (Lang_Index).Config.Config_Body :=
Element.Value.Value; Element.Value.Value;
when Name_Config_Body_File_Name_Pattern => when Name_Config_Body_File_Name_Pattern =>
...@@ -1640,7 +1640,7 @@ package body Prj.Nmsc is ...@@ -1640,7 +1640,7 @@ package body Prj.Nmsc is
In_Tree.Languages_Data.Table In_Tree.Languages_Data.Table
(Lang_Index).Config.Config_Spec := (Lang_Index).Config.Config_Spec :=
Element.Value.Value; Element.Value.Value;
when Name_Config_Spec_File_Name_Pattern => when Name_Config_Spec_File_Name_Pattern =>
...@@ -1694,8 +1694,7 @@ package body Prj.Nmsc is ...@@ -1694,8 +1694,7 @@ package body Prj.Nmsc is
Attribute_Id := Attributes; Attribute_Id := Attributes;
while Attribute_Id /= No_Variable loop while Attribute_Id /= No_Variable loop
Attribute := Attribute := In_Tree.Variable_Elements.Table (Attribute_Id);
In_Tree.Variable_Elements.Table (Attribute_Id);
if not Attribute.Value.Default then if not Attribute.Value.Default then
if Attribute.Name = Name_Separate_Suffix then if Attribute.Name = Name_Separate_Suffix then
......
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