aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/prj.ads
diff options
context:
space:
mode:
authorRobert Dewar <dewar@adacore.com>2006-10-31 18:51:38 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2006-10-31 18:51:38 +0100
commitcce685621b46adb534ec20fcf9a76606596288be (patch)
tree82f467f6771df85b9ce495a5af4527dc1f9635c0 /gcc/ada/prj.ads
parentc064e066027cb688449ce4e3fd28126fe45b0e11 (diff)
downloadgcc-cce685621b46adb534ec20fcf9a76606596288be.zip
gcc-cce685621b46adb534ec20fcf9a76606596288be.tar.gz
gcc-cce685621b46adb534ec20fcf9a76606596288be.tar.bz2
clean.adb, [...]: Fix bad table increment values (much too small)
2006-10-31 Robert Dewar <dewar@adacore.com> * clean.adb, gnatname.adb, gnatsym.adb, prep.adb, prep.ads, prepcomp.adb, prj.ads, prj-strt.adb, sem_maps.ads, vms_conv.adb: Fix bad table increment values (much too small) * table.adb (Realloc): Make sure we get at least some new elements Defends against silly small values for table increment From-SVN: r118249
Diffstat (limited to 'gcc/ada/prj.ads')
-rw-r--r--gcc/ada/prj.ads22
1 files changed, 11 insertions, 11 deletions
diff --git a/gcc/ada/prj.ads b/gcc/ada/prj.ads
index 4749204..416635f 100644
--- a/gcc/ada/prj.ads
+++ b/gcc/ada/prj.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- 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- --
@@ -316,7 +316,7 @@ package Prj is
type String_Element is record
Value : Name_Id := No_Name;
Index : Int := 0;
- Display_Value : Name_Id := No_Name;
+ Display_Value : Name_Id := No_Name;
Location : Source_Ptr := No_Location;
Flag : Boolean := False;
Next : String_List_Id := Nil_String;
@@ -840,13 +840,13 @@ package Prj is
(Specification, Body_Part);
type File_Name_Data is record
- Name : Name_Id := No_Name;
- Index : Int := 0;
- Display_Name : Name_Id := No_Name;
- Path : Name_Id := No_Name;
- Display_Path : Name_Id := No_Name;
+ Name : Name_Id := No_Name;
+ Index : Int := 0;
+ Display_Name : Name_Id := No_Name;
+ Path : Name_Id := No_Name;
+ Display_Path : Name_Id := No_Name;
Project : Project_Id := No_Project;
- Needs_Pragma : Boolean := False;
+ Needs_Pragma : Boolean := False;
end record;
-- File and Path name of a spec or body
@@ -1057,7 +1057,7 @@ private
Table_Index_Type => Natural,
Table_Low_Bound => 1,
Table_Initial => 50,
- Table_Increment => 50);
+ Table_Increment => 100);
-- Table storing all the temp path file names.
-- Used by Delete_All_Path_Files.
@@ -1066,7 +1066,7 @@ private
Table_Index_Type => Natural,
Table_Low_Bound => 1,
Table_Initial => 50,
- Table_Increment => 50);
+ Table_Increment => 100);
-- A table to store the source dirs before creating the source path file
package Object_Path_Table is new GNAT.Dynamic_Tables
@@ -1074,7 +1074,7 @@ private
Table_Index_Type => Natural,
Table_Low_Bound => 1,
Table_Initial => 50,
- Table_Increment => 50);
+ Table_Increment => 100);
-- A table to store the object dirs, before creating the object path file
type Private_Project_Tree_Data is record