home *** CD-ROM | disk | FTP | other *** search
/ Mega Top 1 / os2_top1.zip / os2_top1 / APPS / TEKST / FUNNEL_S / SOURCES / PARSER.H < prev    next >
C/C++ Source or Header  |  1992-05-27  |  3KB  |  66 lines

  1. /*##############################################################################
  2.  
  3. FUNNNELWEB COPYRIGHT
  4. ====================
  5. FunnelWeb is a literate-programming macro preprocessor.
  6.  
  7. Copyright (C) 1992 Ross N. Williams.
  8.  
  9.    Ross N. Williams
  10.    ross@spam.adelaide.edu.au
  11.    16 Lerwick Avenue, Hazelwood Park 5066, Australia.
  12.  
  13. This program is free software; you can redistribute it and/or modify
  14. it under the terms of Version 2 of the GNU General Public License as
  15. published by the Free Software Foundation.
  16.  
  17. This program is distributed WITHOUT ANY WARRANTY; without even the implied
  18. warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  19. See Version 2 of the GNU General Public License for more details.
  20.  
  21. You should have received a copy of Version 2 of the GNU General Public
  22. License along with this program. If not, you can FTP the license from
  23. prep.ai.mit.edu/pub/gnu/COPYING-2 or write to the Free Software
  24. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  25.  
  26. Section 2a of the license requires that all changes to this file be
  27. recorded prominently in this file. Please record all changes here.
  28.  
  29. Programmers:
  30.    RNW  Ross N. Williams  ross@spam.adelaide.edu.au
  31.  
  32. Changes:
  33.    07-May-1992  RNW  Program prepared for release under GNU GPL V2.
  34.  
  35. ##############################################################################*/
  36.  
  37.  
  38. /******************************************************************************/
  39. /*                                    PARSER.H                                */
  40. /******************************************************************************/
  41. /*                                                                            */
  42. /* The FunnelWeb parser parses the tokens in the global token list and        */
  43. /* constructs a macro table and a document list. These two data structures    */
  44. /* give structured views of the input document which are used later by tangle */
  45. /* and weave. If the parser detects any errors it sends them to the lister    */
  46. /* package. If any errors have occurred, the output of the parser should not  */
  47. /* be used.                                                                   */
  48. /*                                                                            */
  49. /* IN : token_list    - List of tokens to be parsed.                          */
  50. /* OUT: macro_table   - Table of macros parsed.                               */
  51. /*      file_table    - Table indicating which macros are attached to files.  */
  52. /*      document_list - List giving a structured view of the document.        */
  53. /*      Also sends diagnostic messages to the lister.                         */
  54. /*                                                                            */
  55. /******************************************************************************/
  56.  
  57. #include "style.h"
  58.  
  59. /******************************************************************************/
  60.  
  61. EXPORT void parser P_((void));
  62.  
  63. /******************************************************************************/
  64. /*                                End of PARSER.H                             */
  65. /******************************************************************************/
  66.