home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_100 / 172_01 / lexech.c < prev    next >
Text File  |  1979-12-31  |  2KB  |  51 lines

  1. /*
  2.   HEADER:              CUG  nnn.nn;
  3.   TITLE:               LEX - A Lexical Analyser Generator
  4.   VERSION:             1.1 for IBM-PC
  5.   DATE:                Jan 30, 1985
  6.   DESCRIPTION:         A Lexical Analyser Generator. From UNIX
  7.   KEYWORDS:            Lexical Analyser Generator YACC C PREP
  8.   SYSTEM:              IBM-PC and Compatiables
  9.   FILENAME:            LEXECH.C
  10.   WARNINGS:            This program is not for the casual user. It will
  11.                        be useful primarily to expert developers.
  12.   CRC:                 N/A
  13.   SEE-ALSO:            YACC and PREP
  14.   AUTHORS:             Charles H. Forsyth
  15.                        Scott Guthery 11100 leafwood lane Austin, TX 78750
  16.                        Andrew M. Ward, Jr.  Houston, Texas (Modifications)
  17.   COMPILERS:           LATTICE C
  18.   REFERENCES:          UNIX Systems Manuals -- Lex Manual on distribution disks
  19. */
  20. /*
  21.  * Copyright (c) 1978 Charles H. Forsyth
  22.  *
  23.  * Modified 02-Dec-80 Bob Denny -- Conditionalize debug code for reduced size
  24.  * Modified 29-May-81 Bob Denny -- Clean up overlay stuff for RSX.
  25.  * More     19-Mar-82 Bob Denny -- New C library & compiler
  26.  * Bob Denny 28-Aug-82             Move stdio dependencies to lexerr(), 
  27.  *                     lexget(), lexech() and mapch(). 
  28.  *                       This is one of 4 modules in lexlib which 
  29.  *                                 depend upon the standard I/O package.
  30.  * Scott Guthery 20-Nov-83         Adapt for IBM PC & DeSmet C
  31.  *
  32.  * Modified 22-Jun-86 Andrew Ward -- Modified code to compile under Lattice C
  33.  *                                 version 3.0h.  Changed FILE pointer def.
  34.  *                                 Typed lexecho as void.
  35.  */
  36.  
  37. #include "lex.h"
  38.  
  39. extern char *llend, llbuf[];
  40.  
  41. void lexecho(fp)
  42. FILE *fp;
  43. {
  44.     char *lp;
  45.         for (lp = llbuf; lp < llend;)
  46.         putc(*lp++, fp);
  47. }
  48.  
  49.  
  50.  
  51.