home *** CD-ROM | disk | FTP | other *** search
/ Mega Top 1 / os2_top1.zip / os2_top1 / APPS / TEKST / FUNNEL_S / SOURCES / SCANNER.H < prev    next >
C/C++ Source or Header  |  1992-05-27  |  3KB  |  68 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. /*                                  SCANNER.H                                 */
  40. /******************************************************************************/
  41. /*                                                                            */
  42. /* This package contains the scanner. When called (though the only exported   */
  43. /* routine below), the scanner maps in the file whose filename is given in    */
  44. /* the global option.op_f_s variable. The scanner scans the file, mapping in  */
  45. /* any included files, and builds two lists in the global list variables      */
  46. /* 'line_list' and 'token_list'. The line list contains a list of the lines   */
  47. /* of the input. The token list contains a tokenized form of the input, which */
  48. /* is used by the parser. The scanner also sends diagnostics to the lister    */
  49. /* package which has the effect of possibly incrementing the global error     */
  50. /* counters num_*. See data.h for more information on data structures.        */
  51. /*                                                                            */
  52. /******************************************************************************/
  53.  
  54. #include "style.h"
  55.  
  56. #include "clock.h"
  57.  
  58. /******************************************************************************/
  59.  
  60. EXPORT void scanner P_((p_ck_t,p_ck_t));
  61. /* The arguments are first a mapper clock, and second a scanner clock. The    */
  62. /* scanner should turn off the scanner clock and turn on the mapper clock     */
  63. /* when calling the mapper.                                                   */
  64.  
  65. /******************************************************************************/
  66. /*                             End of SCANNER.H                               */
  67. /******************************************************************************/
  68.