]>
Commit | Line | Data |
---|---|---|
415dddc8 RK |
1 | ------------------------------------------------------------------------------ |
2 | -- -- | |
3 | -- GNAT COMPILER COMPONENTS -- | |
4 | -- -- | |
5 | -- T R E E _ G E N -- | |
6 | -- -- | |
7 | -- B o d y -- | |
415dddc8 | 8 | -- -- |
1d005acc | 9 | -- Copyright (C) 1992-2019, Free Software Foundation, Inc. -- |
415dddc8 RK |
10 | -- -- |
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- -- | |
b5c84c3c | 13 | -- ware Foundation; either version 3, or (at your option) any later ver- -- |
415dddc8 RK |
14 | -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- |
15 | -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- | |
16 | -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- | |
17 | -- for more details. You should have received a copy of the GNU General -- | |
b5c84c3c RD |
18 | -- Public License distributed with GNAT; see file COPYING3. If not, go to -- |
19 | -- http://www.gnu.org/licenses for a complete copy of the license. -- | |
415dddc8 RK |
20 | -- -- |
21 | -- GNAT was originally developed by the GNAT team at New York University. -- | |
71ff80dc | 22 | -- Extensive contributions were provided by Ada Core Technologies Inc. -- |
415dddc8 RK |
23 | -- -- |
24 | ------------------------------------------------------------------------------ | |
25 | ||
c159409f | 26 | with Aspects; |
415dddc8 RK |
27 | with Atree; |
28 | with Elists; | |
29 | with Fname; | |
30 | with Lib; | |
31 | with Namet; | |
32 | with Nlists; | |
33 | with Opt; | |
07fc65c4 | 34 | with Osint.C; |
415dddc8 | 35 | with Repinfo; |
21d27997 | 36 | with Sem_Aux; |
415dddc8 RK |
37 | with Sinput; |
38 | with Stand; | |
39 | with Stringt; | |
40 | with Uintp; | |
41 | with Urealp; | |
42 | ||
21d27997 RD |
43 | with Tree_In; |
44 | pragma Warnings (Off, Tree_In); | |
45 | -- We do not use Tree_In in the compiler, but it is small, and worth including | |
46 | -- so that we get the proper license check for Tree_In when the compiler is | |
47 | -- built. This will avoid adding bad dependencies to Tree_In and blowing ASIS. | |
48 | ||
415dddc8 RK |
49 | procedure Tree_Gen is |
50 | begin | |
51 | if Opt.Tree_Output then | |
07fc65c4 | 52 | Osint.C.Tree_Create; |
1928f450 | 53 | |
00332244 | 54 | Opt.Tree_Write; |
415dddc8 RK |
55 | Atree.Tree_Write; |
56 | Elists.Tree_Write; | |
57 | Fname.Tree_Write; | |
58 | Lib.Tree_Write; | |
59 | Namet.Tree_Write; | |
60 | Nlists.Tree_Write; | |
21d27997 | 61 | Sem_Aux.Tree_Write; |
415dddc8 RK |
62 | Sinput.Tree_Write; |
63 | Stand.Tree_Write; | |
64 | Stringt.Tree_Write; | |
65 | Uintp.Tree_Write; | |
66 | Urealp.Tree_Write; | |
67 | Repinfo.Tree_Write; | |
00332244 AC |
68 | Aspects.Tree_Write; |
69 | ||
07fc65c4 | 70 | Osint.C.Tree_Close; |
415dddc8 RK |
71 | end if; |
72 | end Tree_Gen; |