mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-04 15:41:21 +08:00
prj.adb (Reset): Initialize the first element of table Namings with the standard naming data.
2006-02-13 Vincent Celier <celier@adacore.com> * prj.adb (Reset): Initialize the first element of table Namings with the standard naming data. From-SVN: r111083
This commit is contained in:
parent
9c723dcb4d
commit
795b06b102
@ -6,7 +6,7 @@
|
||||
-- --
|
||||
-- B o d y --
|
||||
-- --
|
||||
-- Copyright (C) 2001-2005, Free Software Foundation, Inc. --
|
||||
-- Copyright (C) 2001-2006, Free Software Foundation, Inc. --
|
||||
-- --
|
||||
-- GNAT is free software; you can redistribute it and/or modify it under --
|
||||
-- terms of the GNU General Public License as published by the Free Soft- --
|
||||
@ -577,6 +577,9 @@ package body Prj is
|
||||
Units_Htable.Reset (Tree.Units_HT);
|
||||
Files_Htable.Reset (Tree.Files_HT);
|
||||
Naming_Table.Init (Tree.Private_Part.Namings);
|
||||
Naming_Table.Increment_Last (Tree.Private_Part.Namings);
|
||||
Tree.Private_Part.Namings.Table
|
||||
(Naming_Table.Last (Tree.Private_Part.Namings)) := Std_Naming_Data;
|
||||
Path_File_Table.Init (Tree.Private_Part.Path_Files);
|
||||
Source_Path_Table.Init (Tree.Private_Part.Source_Paths);
|
||||
Object_Path_Table.Init (Tree.Private_Part.Object_Paths);
|
||||
|
Loading…
x
Reference in New Issue
Block a user