-- --
-- B o d y --
-- --
--- Copyright (C) 1992-2005 Free Software Foundation, Inc. --
+-- Copyright (C) 1992-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- --
Write_Str ("GNATLS ");
Write_Str (Gnat_Version_String);
Write_Eol;
- Write_Str ("Copyright 1997-2005 Free Software Foundation, Inc.");
+ Write_Str ("Copyright 1997-" &
+ Current_Year &
+ ", Free Software Foundation, Inc.");
Write_Eol;
Write_Eol;
Write_Str ("Source Search Path:");
end loop;
-- If the directory is No_Default_Project_Dir, set
- -- Add_Default_Dir to False
+ -- Add_Default_Dir to False.
if Project_Path (First .. Last) = No_Project_Default_Dir then
Add_Default_Dir := False;
-- --
-- B o d y --
-- --
--- 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- --
-- --
------------------------------------------------------------------------------
-with Gnatvsn;
+with Gnatvsn; use Gnatvsn;
with Hostparm;
with Opt;
with Osint; use Osint;
Output.Write_Str ("GNATNAME ");
Output.Write_Line (Gnatvsn.Gnat_Version_String);
Output.Write_Line
- ("Copyright 2001-2005 Free Software Foundation, Inc.");
+ ("Copyright 2001-" &
+ Current_Year &
+ ", Free Software Foundation, Inc.");
end if;
end Output_Version;
-- --
-- S p e c --
-- --
--- Copyright (C) 1992-2005 Free Software Foundation, Inc. --
+-- Copyright (C) 1992-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- --
-- the tree format that would result in a compiler being incompatible with
-- an older version of ASIS, or vice versa.
+ Current_Year : constant String := "2006";
+ -- Used in printing copyright messages
+
end Gnatvsn;
-- --
-- B o d y --
-- --
--- Copyright (C) 1996-2005, Free Software Foundation, Inc. --
+-- Copyright (C) 1996-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- --
-- --
------------------------------------------------------------------------------
-with Gnatvsn;
+with Gnatvsn; use Gnatvsn;
with Hostparm;
with Opt;
with Osint; use Osint;
begin
Put ("GNAT ");
Put_Line (Gnatvsn.Gnat_Version_String);
- Put_Line ("Copyright 1996-2005, Free Software Foundation, Inc.");
+ Put_Line ("Copyright 1996-" &
+ Current_Year &
+ ", Free Software Foundation, Inc.");
end Output_Version;
-----------