diff options
author | Vincent Celier <celier@adacore.com> | 2006-02-15 10:42:47 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2006-02-15 10:42:47 +0100 |
commit | 795b06b10250df89edb732e0e8608fd0455fac7e (patch) | |
tree | cf9c5a40aa709757a110a433c49d1bf3fd8b018e /gcc | |
parent | 9c723dcb4d5f5e5223bcb8b1043179d231e4e08d (diff) | |
download | gcc-795b06b10250df89edb732e0e8608fd0455fac7e.zip gcc-795b06b10250df89edb732e0e8608fd0455fac7e.tar.gz gcc-795b06b10250df89edb732e0e8608fd0455fac7e.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ada/prj.adb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ada/prj.adb b/gcc/ada/prj.adb index 4f689ad..7f85ed3 100644 --- a/gcc/ada/prj.adb +++ b/gcc/ada/prj.adb @@ -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); |