home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / OS2-YACC.ZIP / SYSTEM.H < prev    next >
Text File  |  1989-10-04  |  2KB  |  75 lines

  1. /*
  2.   HEADER: CUG     nnn.nn;
  3.   TITLE:     YACC - Yet Another Compilier-Compilier
  4.   VERSION:     1.0 for IBM-PC
  5.   DATE:      JAN 28, 1985
  6.   DESCRIPTION:     LALR(1) Parser Generator. From UNIX
  7.   KEYWORDS:     Parser Generator Compilier-Compilier YACC
  8.   SYSTEM:     IBM-PC and Compatiables
  9.   FILENAME:      SYSTEM.H
  10.   WARNINGS:     This program is not for the casual user. It will
  11.          be useful primarily to expert developers.
  12.   CRC:         N/A
  13.   SEE-ALSO:     LEX and PREP
  14.   AUTHORS:     Scott Guthery 11100 leafwood lane Austin, TX 78750
  15.   COMPILERS:     DESMET-C
  16.   REFERENCES:     UNIX Systems Manuals
  17. */
  18.  
  19. /*                             *********************
  20.  *                             *  S Y S T E M . H  *
  21.  *                             *********************
  22.  *
  23.  * This file replaces the original "files." header file. It defines, for
  24.  * the IBM PC/XT version, the target parser function source file, overriding
  25.  * file name string defines, and other system-specific definitions and
  26.  * parameters. 
  27.  *
  28.  * Bob Denny    06-Dec-80
  29.  *
  30.  * Edits:
  31.  *              18-Dec-80  ZAPFILE no longer used in Decus Yacc.
  32.  *                         Parser file renamed yypars.c
  33.  *
  34.  *              28-Aug-81  Temp files for RSX have specific version
  35.  *                         numbers of 1 to avoid multi-versions. Rename
  36.  *                         parser info file ".i".
  37.  *
  38.  *              12-Apr-83  Add FNAMESIZE & EX_xxx parameters.
  39.  *
  40.  *Scott Guthery 23-Dec-83  Adapt for the IBM PC/XT & DeSmet C compiler.
  41.  *
  42.  */
  43.  
  44. /* Define WORD32 if target machine is a 32 bitter */
  45.  
  46. /*
  47.  * Target parser source file
  48.  */
  49. # define PARSER "yypars.c"
  50.  
  51. /*
  52.  * basic size of the Yacc implementation
  53.  */
  54. # define MEDIUM
  55.  
  56. /*
  57.  * Table size for this Yacc
  58.  */
  59. # define HUGETAB YES
  60.  
  61. /*
  62.  * Filespec definitions
  63.  */
  64. # define ACTNAME "yacc2.tmp"
  65. # define TEMPNAME "yacc1.tmp"
  66. # define FNAMESIZE 24
  67.  
  68. /*
  69.  * Exit status values
  70.  */
  71. #define EX_SUC 0
  72. #define EX_WAR 1
  73. #define EX_ERR 2
  74. #define EX_SEV 4
  75.