diff options
author | Vincent Celier <celier@adacore.com> | 2005-03-18 12:49:51 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2005-03-18 12:49:51 +0100 |
commit | e5c14bd896f5d1d4d4f4fe42e666895cc0716b01 (patch) | |
tree | 1ed5b3d6514e4e0a6d24da7aa36359ac4f6a8f25 /gcc/ada/make.adb | |
parent | a77842bdf959270baae1ec9f7d82a3217a083a56 (diff) | |
download | gcc-e5c14bd896f5d1d4d4f4fe42e666895cc0716b01.zip gcc-e5c14bd896f5d1d4d4f4fe42e666895cc0716b01.tar.gz gcc-e5c14bd896f5d1d4d4f4fe42e666895cc0716b01.tar.bz2 |
make.adb (Insert_Project_Sources): Make sure the Q is always initialized.
2005-03-17 Vincent Celier <celier@adacore.com>
* make.adb (Insert_Project_Sources): Make sure the Q is always
initialized.
* prj-nmsc.adb (Check_Ada_Naming_Scheme_Validity): Check Naming against
the default for the tree, not the global default naming.
* prj-proc.adb (Recursive_Process): No need to put the default naming
in the project data, it's already there.
From-SVN: r96669
Diffstat (limited to 'gcc/ada/make.adb')
-rw-r--r-- | gcc/ada/make.adb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ada/make.adb b/gcc/ada/make.adb index 71f95c4..9c11556 100644 --- a/gcc/ada/make.adb +++ b/gcc/ada/make.adb @@ -6127,6 +6127,13 @@ package body Make is Osint.Add_File (Get_Name_String (Sfile)); Put_In_Q := True; + + -- As we may look into the Q later, ensure the Q has been + -- initialized to avoid errors. + + if First_Q_Initialization then + Init_Q; + end if; end if; end loop; end Insert_Project_Sources; |