home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / compcomp / yacc / system.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-11-17  |  3.3 KB  |  79 lines

  1. #ifndef TRUE
  2. #define TRUE 1
  3. #endif
  4.  
  5. #ifndef FALSE
  6. #define FALSE 0
  7. #endif
  8. #include <ctype.h>
  9.  
  10. /************************************************************************/
  11. /*                              system.h                                */ 
  12. /*  Configuration file for yacc.c                                       */ 
  13. /************************************************************************/   
  14.     
  15. /************************************************************************/   
  16. /*                              comments                                */ 
  17. /*                                                                      */ 
  18. /* This file replaces the original "files." header file. It defines,    */ 
  19. /* for the IBM PC/XT version, the target parser function source file,   */ 
  20. /* overriding file name string defines, and other system-specific       */ 
  21. /* definitions and parameters.                                          */ 
  22. /*                                                                      */ 
  23. /************************************************************************/ 
  24.     
  25. /************************************************************************/   
  26. /*                              history                                 */ 
  27. /*                                                                      */ 
  28. /*                                                                      */ 
  29. /* 85Nov19 CrT    yypars.c changed to yyparse.c to avoid mismatch probs.    */
  30. /* 85Nov11 CrT    Cosmetics.                        */
  31. /*                                    */
  32. /* 83Dec23 RDB  Adapt for the IBM PC/XT & DeSmet C compiler.            */ 
  33. /*                                                                      */ 
  34. /* 83Apr12 RDB  Add FNAMESIZE & EX_xxx parameters.                      */ 
  35. /*                                                                      */ 
  36. /* 81Aug28 RDB  Temp files for RSX have specific version                */ 
  37. /*               numbers of 1 to avoid multi-versions. Rename           */ 
  38. /*               parser info file ".i".                                 */ 
  39. /*                                                                      */ 
  40. /* 80Dec18 RDB  ZAPFILE no longer used in Decus Yacc.                   */ 
  41. /*               Parser file renamed yypars.c                           */ 
  42. /*                                                                      */
  43. /* 7?????? SCJ  Created.                                                */
  44. /*                                    */
  45. /*                credits                 */
  46. /*      CrT=CrT                                                         */  
  47. /*      RBD=Bob Denny                                                   */  
  48. /*      SCJ=Steven C Johnson.                                           */  
  49. /*      SG =Scott Guthery                                               */  
  50. /************************************************************************/ 
  51.   
  52. #define CrT   2001
  53.  
  54. /* Define WORD32 for 32-bit target machine: */
  55.  
  56. /* Target parser source file: */
  57. #ifdef CrT
  58. #define PARSER "yyparse.c"
  59. #else
  60. #define PARSER "yyparse.c"
  61. #endif
  62.  
  63. /* basic size of the Yacc implementation: */
  64. #define MEDIUM
  65.  
  66. /* Table size for this Yacc: */
  67. #define MEDTAB YES
  68.  
  69. /* Filespec definitions: */
  70. #define ACTNAME "yacc2.tmp"
  71. #define TEMPNAME "yacc1.tmp"
  72. #define FNAMESIZE 24
  73.  
  74. /* Exit status values: */
  75. #define EX_SUC 1
  76. #define EX_WAR 0
  77. #define EX_ERR 2
  78. #define EX_SEV 4
  79.