diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-03 08:28:47 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-03 08:28:47 +0000 |
commit | 700315b91cd7af93dfa463a671bb615a9cd9bfae (patch) | |
tree | 654521d54854aa7c811d76cf7c5e45e9e3571f66 /gcc/ada/gnatcmd.adb | |
parent | e13474c869c67f5eb1687dc1df90817c00973c73 (diff) | |
download | gcc-700315b91cd7af93dfa463a671bb615a9cd9bfae.tar.gz |
2011-08-03 Emmanuel Briot <briot@adacore.com>
* gnatcmd.adb, make.adb, prj-part.adb, prj-part.ads, prj-makr.adb,
clean.adb, prj-nmsc.adb, prj-pars.adb, prj-conf.adb, prj-env.adb,
prj-env.ads (Prj.Env.Initialize_Default_Project_Path,
Prj.Env.Initialize_Empty): new subprograms
(Get_Env, Find_Project): remove parameter Target_Name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177241 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/gnatcmd.adb')
-rw-r--r-- | gcc/ada/gnatcmd.adb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ada/gnatcmd.adb b/gcc/ada/gnatcmd.adb index 8f22273725c..329f1b069e9 100644 --- a/gcc/ada/gnatcmd.adb +++ b/gcc/ada/gnatcmd.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1996-2010, Free Software Foundation, Inc. -- +-- Copyright (C) 1996-2011, 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- -- @@ -1365,6 +1365,9 @@ begin Snames.Initialize; Project_Node_Tree := new Project_Node_Tree_Data; + Prj.Env.Initialize_Default_Project_Path + (Project_Node_Tree.Project_Path, Target_Name => ""); + Prj.Tree.Initialize (Project_Node_Tree); Prj.Initialize (Project_Tree); |