summaryrefslogtreecommitdiff
path: root/gcc/ada/xref_lib.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-15 13:56:03 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-15 13:56:03 +0000
commit7919e3c25c8b4e1a9301b8f879adebdcfaba4976 (patch)
tree5f25c9c711a2745646acbe6505486ccced119c7d /gcc/ada/xref_lib.adb
parent76a1c25b5ba521501bd8e2ce30573c34cc0da1fb (diff)
downloadgcc-7919e3c25c8b4e1a9301b8f879adebdcfaba4976.tar.gz
2005-11-14 Emmanuel Briot <briot@adacore.com>
* xref_lib.adb (Parse_Identifier_Info): It is possible for an entity line in the ALI file to include both an instantiation reference, and a returned value. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106966 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/xref_lib.adb')
-rw-r--r--gcc/ada/xref_lib.adb9
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/ada/xref_lib.adb b/gcc/ada/xref_lib.adb
index 454acccd9c2..3650851d916 100644
--- a/gcc/ada/xref_lib.adb
+++ b/gcc/ada/xref_lib.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1998-2005 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- --
@@ -372,7 +372,7 @@ package body Xref_Lib is
if Tail (Dir_Ent (1 .. Last), 4) = ".adp" then
- -- The first project file found is the good one.
+ -- The first project file found is the good one
Close (My_Dir);
return Dir_Ent (1 .. Last);
@@ -889,8 +889,9 @@ package body Xref_Lib is
if Ali (Ptr) = '[' then
Skip_To_Matching_Closing_Bracket;
+ end if;
- elsif Ali (Ptr) = '<'
+ if Ali (Ptr) = '<'
or else Ali (Ptr) = '('
or else Ali (Ptr) = '{'
then
@@ -1475,7 +1476,7 @@ package body Xref_Lib is
-- Go to start of new line
procedure Print80 (S : in String);
- -- Print the text, respecting the 80 columns rule.
+ -- Print the text, respecting the 80 columns rule
procedure Print_Ref (Line, Column : String);
-- The beginning of the output is aligned on a column multiple of 9