PR ada/18819
[official-gcc.git] / gcc / ada / tree_gen.adb
blob43d1f986b460cd6b2df695890e1125ad97db5fd1
1 ------------------------------------------------------------------------------
2 -- --
3 -- GNAT COMPILER COMPONENTS --
4 -- --
5 -- T R E E _ G E N --
6 -- --
7 -- B o d y --
8 -- --
9 -- Copyright (C) 1992-2001, Free Software Foundation, Inc. --
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- --
13 -- ware Foundation; either version 2, or (at your option) any later ver- --
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 --
18 -- Public License distributed with GNAT; see file COPYING. If not, write --
19 -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
20 -- Boston, MA 02110-1301, USA. --
21 -- --
22 -- GNAT was originally developed by the GNAT team at New York University. --
23 -- Extensive contributions were provided by Ada Core Technologies Inc. --
24 -- --
25 ------------------------------------------------------------------------------
27 with Atree;
28 with Elists;
29 with Fname;
30 with Lib;
31 with Namet;
32 with Nlists;
33 with Opt;
34 with Osint.C;
35 with Repinfo;
36 with Sinput;
37 with Stand;
38 with Stringt;
39 with Uintp;
40 with Urealp;
42 procedure Tree_Gen is
43 begin
44 if Opt.Tree_Output then
45 Osint.C.Tree_Create;
46 Opt.Tree_Write;
47 Atree.Tree_Write;
48 Elists.Tree_Write;
49 Fname.Tree_Write;
50 Lib.Tree_Write;
51 Namet.Tree_Write;
52 Nlists.Tree_Write;
53 Sinput.Tree_Write;
54 Stand.Tree_Write;
55 Stringt.Tree_Write;
56 Uintp.Tree_Write;
57 Urealp.Tree_Write;
58 Repinfo.Tree_Write;
59 Osint.C.Tree_Close;
60 end if;
61 end Tree_Gen;