diff options
author | Emmanuel Briot <briot@adacore.com> | 2008-04-08 08:58:02 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2008-04-08 08:58:02 +0200 |
commit | 77e51042833db99163b90918effbe6daa546258b (patch) | |
tree | da9dd7463bdc192a2130117d61ff57fc5d02ccc7 /gcc/ada/prj-pp.ads | |
parent | 7dbc8918c6557300367851abe89be81b7c2a04b4 (diff) | |
download | gcc-77e51042833db99163b90918effbe6daa546258b.zip gcc-77e51042833db99163b90918effbe6daa546258b.tar.gz gcc-77e51042833db99163b90918effbe6daa546258b.tar.bz2 |
g-comlin.ads, [...] (Expansion): Remove unreachable return statement.
2008-04-08 Emmanuel Briot <briot@adacore.com>
* g-comlin.ads, g-comlin.adb (Expansion): Remove unreachable return
statement.
(Get_Configuration): New subprogram.
* prj-pp.ads, prj-pp.adb (Pretty_Print): new parameters Id and Id_Tree
These optional parameters help preserve the casing of the project's name
when pretty-printing.
From-SVN: r134065
Diffstat (limited to 'gcc/ada/prj-pp.ads')
-rw-r--r-- | gcc/ada/prj-pp.ads | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ada/prj-pp.ads b/gcc/ada/prj-pp.ads index 61abba8c..7d599f4 100644 --- a/gcc/ada/prj-pp.ads +++ b/gcc/ada/prj-pp.ads @@ -6,7 +6,7 @@ -- -- -- S p e c -- -- -- --- Copyright (C) 2001-2007, Free Software Foundation, Inc. -- +-- Copyright (C) 2001-2008, 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- -- @@ -52,7 +52,9 @@ package Prj.PP is W_Char : Write_Char_Ap := null; W_Eol : Write_Eol_Ap := null; W_Str : Write_Str_Ap := null; - Backward_Compatibility : Boolean); + Backward_Compatibility : Boolean; + Id : Prj.Project_Id := Prj.No_Project; + Id_Tree : Prj.Project_Tree_Ref := null); -- Output a project file, using either the default output routines, or the -- ones specified by W_Char, W_Eol and W_Str. -- @@ -73,6 +75,9 @@ package Prj.PP is -- Spec_Suffix, Body, Body_Suffix) will be replaced by obsolete ones -- (Specification, Specification_Suffix, Implementation, -- Implementation_Suffix). + -- + -- Id is used to compute the display name of the project including its + -- proper casing. private |