From 795b06b10250df89edb732e0e8608fd0455fac7e Mon Sep 17 00:00:00 2001 From: Vincent Celier Date: Wed, 15 Feb 2006 10:42:47 +0100 Subject: [PATCH] prj.adb (Reset): Initialize the first element of table Namings with the standard naming data. 2006-02-13 Vincent Celier * prj.adb (Reset): Initialize the first element of table Namings with the standard naming data. From-SVN: r111083 --- gcc/ada/prj.adb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/ada/prj.adb b/gcc/ada/prj.adb index 4f689adc555..7f85ed3041e 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); -- 2.30.2