home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Programmer's Library 1.3 / Microsoft-Programers-Library-v1.3.iso / sampcode / alde_c / misc / comm / yaccunx / y4.h < prev    next >
Encoding:
C/C++ Source or Header  |  1983-12-25  |  1.2 KB  |  31 lines

  1. /********************************************************************************/
  2. /*                              *************                                   */
  3. /*                              *  Y 4 . H  *                                   */
  4. /*                              *************                                   */
  5. /*                                                                              */
  6. /*  This file contains the external declarations needed to hook Yacc modules    */
  7. /* which were originally in Y4.C to their impure data in Y4IMP.4C. Also does    */
  8. /* the include of the original data/external file DTXTRN.H.                     */
  9. /*                                                                              */
  10. /********************************************************************************/
  11.  
  12. # include "dtxtrn.h"
  13.  
  14. # define a amem
  15. # define pa indgo
  16. # define yypact temp1
  17. # define greed tystate
  18.  
  19. # define NOMORE -1000
  20.  
  21. extern int * ggreed;
  22. extern int * pgo;
  23. extern int *yypgo;
  24.  
  25. extern int maxspr;              /* maximum spread of any entry */
  26. extern int maxoff;              /* maximum offset into a array */
  27. extern int *pmem;
  28. extern int *maxa;
  29. extern int nxdb;
  30. extern int adb;
  31.