diff options
Diffstat (limited to 'gcc/ada/xref_lib.adb')
-rw-r--r-- | gcc/ada/xref_lib.adb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gcc/ada/xref_lib.adb b/gcc/ada/xref_lib.adb index 116f364..f3c8fa3 100644 --- a/gcc/ada/xref_lib.adb +++ b/gcc/ada/xref_lib.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1998-2008, Free Software Foundation, Inc. -- +-- Copyright (C) 1998-2009, 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- -- @@ -481,8 +481,7 @@ package body Xref_Lib is function Get_Full_Type (Decl : Declaration_Reference) return String is function Param_String return String; - -- Return the string to display depending on whether Decl is a - -- parameter or not + -- Return the string to display depending on whether Decl is a parameter ------------------ -- Param_String -- @@ -710,7 +709,9 @@ package body Xref_Lib is end loop; if Source (Ptr) /= EOF then - Ptr := Ptr + 1; -- skip CR or LF + -- Skip CR or LF + + Ptr := Ptr + 1; end if; -- Skip past CR/LF or LF/CR combination @@ -1071,7 +1072,7 @@ package body Xref_Lib is loop -- Process references on current line - while Ali (Ptr) = ' ' or Ali (Ptr) = ASCII.HT loop + while Ali (Ptr) = ' ' or else Ali (Ptr) = ASCII.HT loop -- For every reference read the line, type and column, -- optionally preceded by a file number and a pipe symbol. |