summaryrefslogtreecommitdiff
path: root/gcc/ada/clean.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-29 12:10:28 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-29 12:10:28 +0000
commita648402ed3bc2e88c2a75d87d66c21d361d7e1d8 (patch)
tree699db50c8964626cd1cf978fd50f643e924d553c /gcc/ada/clean.adb
parenta7ed52be304abe39cdf800db3d19feb66de21a1d (diff)
downloadgcc-a648402ed3bc2e88c2a75d87d66c21d361d7e1d8.tar.gz
2009-04-29 Emmanuel Briot <briot@adacore.com>
* gnatcmd.adb, prj-proc.adb, prj-proc.ads, make.adb, prj-part.adb, prj-part.ads, prj.adb, prj.ads, clean.adb, prj-dect.adb, prj-dect.ads, prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads, prj-makr.adb (Set_In_Configuration, In_Configuration): Removed. Replaced by an extra parameter Is_Config_File in several parameter to avoid global variables to store the state of the parser. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146955 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/clean.adb')
-rw-r--r--gcc/ada/clean.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ada/clean.adb b/gcc/ada/clean.adb
index eac192903b3..04512e7778f 100644
--- a/gcc/ada/clean.adb
+++ b/gcc/ada/clean.adb
@@ -1373,7 +1373,8 @@ package body Clean is
(Project => Main_Project,
In_Tree => Project_Tree,
Project_File_Name => Project_File_Name.all,
- Packages_To_Check => Packages_To_Check_By_Gnatmake);
+ Packages_To_Check => Packages_To_Check_By_Gnatmake,
+ Is_Config_File => False);
if Main_Project = No_Project then
Fail ("""" & Project_File_Name.all & """ processing failed");