home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / awk / awk320sr.zip / YYLEX.H < prev    next >
Text File  |  1991-04-25  |  1KB  |  37 lines

  1. /*
  2.  * lex library header file
  3.  *
  4.  * Copyright (C) 1988, 1989, 1990, 1991 by Rob Duff
  5.  * All rights reserved
  6.  */
  7.  
  8. /*
  9.  * reject backup table entry
  10.  */
  11.  
  12. typedef struct {
  13.     short llfin;
  14.     short lllen;
  15. } yyrej;
  16.  
  17. /*
  18.  * Description of scanning tables. The entries at the front of
  19.  * the struct must remain in place for the assembler routines to find.
  20.  */
  21. typedef struct {
  22.     int     llendst;        /* Last state number */
  23.     int     llnxtmax;       /* Last in next table */
  24.     short   *llbase;        /* Base table */
  25.     short   *llnext;        /* Next state table */
  26.     short   *llcheck;       /* Check value table */
  27.     short   *lldefault;     /* Default state table */
  28.     short   *llfinal;       /* Final state descriptions */
  29.     short   *lllook;        /* Look ahead vector if != NULL */
  30.     yyrej   *llback;        /* reject backup vector */
  31.     int     (*llactr)(int); /* Action routine */
  32.     char    *llign;         /* Ignore char vec if != NULL */
  33.     char    *llbrk;         /* Break char vec if != NULL */
  34.     char    *llill;         /* Illegal char vec if != NULL */
  35. } yytab;
  36.  
  37.