home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 2 / crawlyvol2.bin / program / c / yaccsrc2 / y1.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-05-18  |  1.7 KB  |  35 lines

  1. /********************************************************************************/
  2. /*                              *************                                   */
  3. /*                              *  Y 1 . H  *                                   */
  4. /*                              *************                                   */
  5. /*                                                                              */
  6. /*  This file contains the external declarations needed to hook Yacc modules    */
  7. /* which were originally in Y1.C to their impure data in Y1IMP.1C. Also does    */
  8. /* the include of the original data/external file DTXTRN.H.                     */
  9. /*                                                                              */
  10. /********************************************************************************/
  11.  
  12. # include "dtxtrn.h" 
  13.  
  14. /* lookahead computations */
  15.  
  16. extern int               tbitset;   /* size of lookahead sets */
  17. extern int               nlset;     /* next lookahead set index */
  18. extern struct looksets   clset;     /* temporary storage for lookahead computations */
  19.  
  20. /* other storage areas */
  21.  
  22. extern int               fatfl;     /* if on, error is fatal */
  23. extern int               nerrors;   /* number of errors */
  24.  
  25. /* storage for information about the nonterminals */
  26.  
  27. extern int           * * pres[ ];   /* vector of pointers to productions yielding each nonterminal */
  28. extern struct looksets * pfirst[ ]; /* vector of pointers to first sets for each nonterminal */
  29. extern int               pempty[ ]; /* vector of nonterminals nontrivially deriving e */
  30.  
  31. /* accumulators for statistics information */
  32.  
  33. extern struct wset     * zzcwp;
  34. extern int             * zzmemsz;
  35.