Mercurial > hg > CbC > CbC_gcc
comparison gcc/ada/binde.ads @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
4 -- -- | 4 -- -- |
5 -- B I N D E -- | 5 -- B I N D E -- |
6 -- -- | 6 -- -- |
7 -- S p e c -- | 7 -- S p e c -- |
8 -- -- | 8 -- -- |
9 -- Copyright (C) 1992-2018, Free Software Foundation, Inc. -- | 9 -- Copyright (C) 1992-2019, 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- -- |
26 -- This package contains the routine that determines library-level elaboration | 26 -- This package contains the routine that determines library-level elaboration |
27 -- order. | 27 -- order. |
28 | 28 |
29 with ALI; use ALI; | 29 with ALI; use ALI; |
30 with Namet; use Namet; | 30 with Namet; use Namet; |
31 with Types; use Types; | |
32 | |
33 with GNAT.Dynamic_Tables; | |
34 | 31 |
35 package Binde is | 32 package Binde is |
36 | |
37 package Unit_Id_Tables is new GNAT.Dynamic_Tables | |
38 (Table_Component_Type => Unit_Id, | |
39 Table_Index_Type => Nat, | |
40 Table_Low_Bound => 1, | |
41 Table_Initial => 500, | |
42 Table_Increment => 200); | |
43 use Unit_Id_Tables; | |
44 | |
45 subtype Unit_Id_Table is Unit_Id_Tables.Instance; | |
46 subtype Unit_Id_Array is Unit_Id_Tables.Table_Type; | |
47 | 33 |
48 procedure Find_Elab_Order | 34 procedure Find_Elab_Order |
49 (Elab_Order : out Unit_Id_Table; | 35 (Elab_Order : out Unit_Id_Table; |
50 First_Main_Lib_File : File_Name_Type); | 36 First_Main_Lib_File : File_Name_Type); |
51 -- Determine elaboration order. | 37 -- Determine elaboration order. |