home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 September / Simtel20_Sept92.cdr / msdos / c / lex.arc / LEXLEN.C < prev    next >
C/C++ Source or Header  |  1980-01-01  |  276b  |  17 lines

  1. /*
  2.  * Bob Denny     28-Aug-82  Remove reference to stdio.h
  3.  * Scott Guthery 20-Nov-83    Adapt for IBM PC & DeSmet C
  4.  */
  5.  
  6. #include <lex.h>
  7.  
  8. extern char *llend, llbuf[];
  9.  
  10. lexlength()
  11. /*
  12.  * Return the length of the current token
  13.  */
  14. {
  15.         return(llend - llbuf);
  16. }
  17.