FSF GCC merge 02/23/03
[official-gcc.git] / gcc / ada / tree_gen.adb
blobca97b7f99678d75db7f5fecc6c56aa7cd49f093f
1 ------------------------------------------------------------------------------
2 -- --
3 -- GNAT COMPILER COMPONENTS --
4 -- --
5 -- T R E E _ G E N --
6 -- --
7 -- B o d y --
8 -- --
9 -- --
10 -- Copyright (C) 1992-2001, Free Software Foundation, Inc. --
11 -- --
12 -- GNAT is free software; you can redistribute it and/or modify it under --
13 -- terms of the GNU General Public License as published by the Free Soft- --
14 -- ware Foundation; either version 2, or (at your option) any later ver- --
15 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
16 -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
17 -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
18 -- for more details. You should have received a copy of the GNU General --
19 -- Public License distributed with GNAT; see file COPYING. If not, write --
20 -- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, --
21 -- MA 02111-1307, USA. --
22 -- --
23 -- GNAT was originally developed by the GNAT team at New York University. --
24 -- Extensive contributions were provided by Ada Core Technologies Inc. --
25 -- --
26 ------------------------------------------------------------------------------
28 with Atree;
29 with Elists;
30 with Fname;
31 with Lib;
32 with Namet;
33 with Nlists;
34 with Opt;
35 with Osint.C;
36 with Repinfo;
37 with Sinput;
38 with Stand;
39 with Stringt;
40 with Uintp;
41 with Urealp;
43 procedure Tree_Gen is
44 begin
45 if Opt.Tree_Output then
46 Osint.C.Tree_Create;
47 Opt.Tree_Write;
48 Atree.Tree_Write;
49 Elists.Tree_Write;
50 Fname.Tree_Write;
51 Lib.Tree_Write;
52 Namet.Tree_Write;
53 Nlists.Tree_Write;
54 Sinput.Tree_Write;
55 Stand.Tree_Write;
56 Stringt.Tree_Write;
57 Uintp.Tree_Write;
58 Urealp.Tree_Write;
59 Repinfo.Tree_Write;
60 Osint.C.Tree_Close;
61 end if;
62 end Tree_Gen;