comparison gcc/ada/xr_tabls.adb @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
4 -- -- 4 -- --
5 -- X R _ T A B L S -- 5 -- X R _ T A B L S --
6 -- -- 6 -- --
7 -- B o d y -- 7 -- B o d y --
8 -- -- 8 -- --
9 -- Copyright (C) 1998-2017, Free Software Foundation, Inc. -- 9 -- Copyright (C) 1998-2018, Free Software Foundation, Inc. --
10 -- -- 10 -- --
11 -- GNAT is free software; you can redistribute it and/or modify it under -- 11 -- GNAT is free software; you can redistribute it and/or modify it under --
12 -- terms of the GNU General Public License as published by the Free Soft- -- 12 -- terms of the GNU General Public License as published by the Free Soft- --
13 -- ware Foundation; either version 3, or (at your option) any later ver- -- 13 -- ware Foundation; either version 3, or (at your option) any later ver- --
14 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- 14 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
759 function Get_File 759 function Get_File
760 (File : File_Reference; 760 (File : File_Reference;
761 With_Dir : Boolean := False; 761 With_Dir : Boolean := False;
762 Strip : Natural := 0) return String 762 Strip : Natural := 0) return String
763 is 763 is
764 pragma Annotate (CodePeer, Skip_Analysis);
765 -- ??? To disable false positives currently generated
766
764 Tmp : GNAT.OS_Lib.String_Access; 767 Tmp : GNAT.OS_Lib.String_Access;
765 768
766 function Internal_Strip (Full_Name : String) return String; 769 function Internal_Strip (Full_Name : String) return String;
767 -- Internal function to process the Strip parameter 770 -- Internal function to process the Strip parameter
768 771