comparison gcc/ada/osint-c.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 -- O S I N T - C -- 5 -- O S I N T - C --
6 -- -- 6 -- --
7 -- B o d y -- 7 -- B o d y --
8 -- -- 8 -- --
9 -- Copyright (C) 2001-2016, Free Software Foundation, Inc. -- 9 -- Copyright (C) 2001-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- --
271 procedure Create_Repinfo_File (Src : String) is 271 procedure Create_Repinfo_File (Src : String) is
272 Discard : File_Name_Type; 272 Discard : File_Name_Type;
273 begin 273 begin
274 Name_Buffer (1 .. Src'Length) := Src; 274 Name_Buffer (1 .. Src'Length) := Src;
275 Name_Len := Src'Length; 275 Name_Len := Src'Length;
276 Discard := Create_Auxiliary_File (Name_Find, "rep"); 276 if List_Representation_Info_To_JSON then
277 return; 277 Discard := Create_Auxiliary_File (Name_Find, "json");
278 else
279 Discard := Create_Auxiliary_File (Name_Find, "rep");
280 end if;
278 end Create_Repinfo_File; 281 end Create_Repinfo_File;
279 282
280 --------------------------- 283 ---------------------------
281 -- Debug_File_Eol_Length -- 284 -- Debug_File_Eol_Length --
282 --------------------------- 285 ---------------------------