home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / C / YACCUNX.ZIP / SYSTEM.H < prev    next >
Encoding:
C/C++ Source or Header  |  1983-12-23  |  1.4 KB  |  57 lines

  1. /*                             *********************
  2.  *                             *  S Y S T E M . H  *
  3.  *                             *********************
  4.  *
  5.  * This file replaces the original "files." header file. It defines, for
  6.  * the IBM PC/XT version, the target parser function source file, overriding
  7.  * file name string defines, and other system-specific definitions and
  8.  * parameters. 
  9.  *
  10.  * Bob Denny    06-Dec-80
  11.  *
  12.  * Edits:
  13.  *              18-Dec-80  ZAPFILE no longer used in Decus Yacc.
  14.  *                         Parser file renamed yypars.c
  15.  *
  16.  *              28-Aug-81  Temp files for RSX have specific version
  17.  *                         numbers of 1 to avoid multi-versions. Rename
  18.  *                         parser info file ".i".
  19.  *
  20.  *              12-Apr-83  Add FNAMESIZE & EX_xxx parameters.
  21.  *
  22.  *Scott Guthery 23-Dec-83  Adapt for the IBM PC/XT & DeSmet C compiler.
  23.  *
  24.  */
  25.  
  26. /* Define WORD32 if target machine is a 32 bitter */
  27.  
  28. /*
  29.  * Target parser source file
  30.  */
  31. # define PARSER "yypars.c"
  32.  
  33. /*
  34.  * basic size of the Yacc implementation
  35.  */
  36. # define MEDIUM
  37.  
  38. /*
  39.  * Table size for this Yacc
  40.  */
  41. # define SMALLTAB YES
  42.  
  43. /*
  44.  * Filespec definitions
  45.  */
  46. # define ACTNAME "yacc2.tmp"
  47. # define TEMPNAME "yacc1.tmp"
  48. # define FNAMESIZE 24
  49.  
  50. /*
  51.  * Exit status values
  52.  */
  53. #define EX_SUC 1
  54. #define EX_WAR 0
  55. #define EX_ERR 2
  56. #define EX_SEV 4
  57.