diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-10 13:57:01 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-10 13:57:01 +0000 |
commit | 57304b2ba4aabca3f6897b27a036a0fa9fff8e21 (patch) | |
tree | 65d8819c164cc64fb71d4de5f7c9131d9a859059 /gcc/ada/gnatfind.adb | |
parent | a6bb679d5b8d2117abb3845585e68d10f7bd38b3 (diff) | |
download | gcc-57304b2ba4aabca3f6897b27a036a0fa9fff8e21.tar.gz |
* usage.adb: Add line for switch -gnat05 (allow Ada 2005 extensions)
Slight fix to documentation of -gnaty with no parameters
* xr_tabls.ads: Add ??? comment for missing overall comment
* xsinfo.adb: Make default file name be sinfo.h, since this is what
we now use by default.
* xsnames.adb: Adjust end of file test to look for five space followed
by '#' instead of six spaces. The format of xsnames.adb was modified
in the last update.
* a-numeri.ads: Add reference to AI-388 for greek letter pi
identifier.
* clean.adb: Minor reformatting.
* gnat1drv.adb, gnatfind.adb, gnatlink.adb, gnatmem.adb,
gnatname.adb: Minor reformatting
Add 2005 to copyright output when utility is run
* csets.adb: Eliminate obsolete comment
* debug.adb, g-socket.ads, i-cobol.adb: Minor reformatting throughout
Update comments.
* sem_eval.ads (Eval_Integer_Literal): Do not inline this, not useful.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94825 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/gnatfind.adb')
-rw-r--r-- | gcc/ada/gnatfind.adb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gcc/ada/gnatfind.adb b/gcc/ada/gnatfind.adb index 980f31febb8..bd8a22a5548 100644 --- a/gcc/ada/gnatfind.adb +++ b/gcc/ada/gnatfind.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1998-2004 Free Software Foundation, Inc. -- +-- Copyright (C) 1998-2005 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- -- @@ -87,10 +87,8 @@ procedure Gnatfind is when 'a' => if GNAT.Command_Line.Full_Switch = "a" then Read_Only := True; - elsif GNAT.Command_Line.Full_Switch = "aI" then Osint.Add_Src_Search_Dir (GNAT.Command_Line.Parameter); - else Osint.Add_Lib_Search_Dir (GNAT.Command_Line.Parameter); end if; @@ -117,7 +115,6 @@ procedure Gnatfind is when 'n' => if GNAT.Command_Line.Full_Switch = "nostdinc" then Opt.No_Stdinc := True; - elsif GNAT.Command_Line.Full_Switch = "nostlib" then Opt.No_Stdlib := True; end if; @@ -125,7 +122,6 @@ procedure Gnatfind is when 'p' => declare S : constant String := GNAT.Command_Line.Parameter; - begin Prj_File_Length := S'Length; Prj_File (1 .. Prj_File_Length) := S; @@ -241,7 +237,7 @@ procedure Gnatfind is procedure Write_Usage is begin Put_Line ("GNATFIND " & Gnatvsn.Gnat_Version_String); - Put_Line ("Copyright 1998-2004, Ada Core Technologies Inc."); + Put_Line ("Copyright 1998-2005, Ada Core Technologies Inc."); Put_Line ("Usage: gnatfind pattern[:sourcefile[:line[:column]]] " & "[file1 file2 ...]"); New_Line; |