home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / gnat-2.06-src.tgz / tar.out / fsf / gnat / ada / tree_gen.adb < prev    next >
Text File  |  1996-09-28  |  2KB  |  56 lines

  1. ------------------------------------------------------------------------------
  2. --                                                                          --
  3. --                         GNAT COMPILER COMPONENTS                         --
  4. --                                                                          --
  5. --                             T R E E _ G E N                              --
  6. --                                                                          --
  7. --                                 B o d y                                  --
  8. --                                                                          --
  9. --                            $Revision: 1.1 $                              --
  10. --                                                                          --
  11. --        Copyright (c) 1992,1993,1994,1995 NYU, All Rights Reserved        --
  12. --                                                                          --
  13. -- GNAT is free software;  you can  redistribute it  and/or modify it under --
  14. -- terms of the  GNU General Public License as published  by the Free Soft- --
  15. -- ware  Foundation;  either version 2,  or (at your option) any later ver- --
  16. -- sion.  GNAT is distributed in the hope that it will be useful, but WITH- --
  17. -- OUT ANY WARRANTY;  without even the  implied warranty of MERCHANTABILITY --
  18. -- or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License --
  19. -- for  more details.  You should have  received  a copy of the GNU General --
  20. -- Public License  distributed with GNAT;  see file COPYING.  If not, write --
  21. -- to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. --
  22. --                                                                          --
  23. ------------------------------------------------------------------------------
  24.  
  25. with Atree;
  26. with Elists;
  27. with Lib;
  28. with Namet;
  29. with Nlists;
  30. with Opt;
  31. with Osint;
  32. with Sinput;
  33. with Stand;
  34. with Stringt;
  35. with Uintp;
  36. with Urealp;
  37.  
  38. procedure Tree_Gen is
  39. begin
  40.    if Opt.Tree_Output then
  41.       Osint.Tree_Create;
  42.       Atree.Tree_Write;
  43.       Elists.Tree_Write;
  44.       Lib.Tree_Write;
  45.       Namet.Tree_Write;
  46.       Nlists.Tree_Write;
  47.       Opt.Tree_Write;
  48.       Sinput.Tree_Write;
  49.       Stand.Tree_Write;
  50.       Stringt.Tree_Write;
  51.       Uintp.Tree_Write;
  52.       Urealp.Tree_Write;
  53.       Osint.Tree_Close;
  54.    end if;
  55. end Tree_Gen;
  56.