SmallPars 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. !File: errout.h
  2. #define ERROUT STDERR /* file pointer for writing messages */
  3. #define ERR_SHADOW 5 /* a syntax error overshadows error messages
  4. until ERR_SHADOW symbols have been
  5. accepted without syntax error */
  6. !File: idfsize.h
  7. #define IDFSIZE 128 /* maximum significant length of an identifier */
  8. !File: numsize.h
  9. #define NUMSIZE 256 /* maximum length of a numeric constant */
  10. !File: strsize.h
  11. #define ISTRSIZE 32 /* minimum number of bytes allocated for
  12. storing a string */
  13. #define RSTRSIZE 8 /* step size in enlarging the memory for
  14. the storage of a string */
  15. !File: target_sizes.h
  16. #define MAXSIZE 8 /* the maximum of the SZ_* constants */
  17. /* target machine sizes */
  18. #define SZ_CHAR ((arith)1)
  19. #define SZ_SHORT ((arith)2)
  20. #define SZ_WORD ((arith)2)
  21. #define SZ_INT ((arith)2)
  22. #define SZ_LONG ((arith)4)
  23. #define SZ_FLOAT ((arith)4)
  24. #define SZ_DOUBLE ((arith)8)
  25. #define SZ_POINTER ((arith)2)
  26. /* target machine alignment requirements */
  27. #define AL_CHAR 1
  28. #define AL_SHORT ((int)SZ_SHORT)
  29. #define AL_WORD ((int)SZ_WORD)
  30. #define AL_INT ((int)SZ_WORD)
  31. #define AL_LONG ((int)SZ_WORD)
  32. #define AL_FLOAT ((int)SZ_WORD)
  33. #define AL_DOUBLE ((int)SZ_WORD)
  34. #define AL_POINTER ((int)SZ_WORD)
  35. #define AL_STRUCT ((int)SZ_WORD)
  36. !File: debugcst.h
  37. /*#define DEBUG 1 /* perform various self-tests */
  38. #define NDEBUG 1 /* disable assertions */
  39. !File: inputtype.h
  40. /*#define INP_READ_IN_ONE 1 /* read input file in one */
  41. !File: density.h
  42. #define DENSITY 3 /* see casestat.C for an explanation */
  43. !File: squeeze.h
  44. #define SQUEEZE 1 /* define on "small" machines */
  45. !File: strict3rd.h
  46. #define STRICT_3RD_ED 1 /* define on "small" machines, and if you want
  47. a compiler that only implements "3rd edition"
  48. Modula-2
  49. */
  50. !File: nocross.h
  51. #define NOCROSS 1 /* define when cross-compiler not needed */
  52. !File: nostrict.h
  53. #define NOSTRICT 1 /* define when STRICT warnings disabled
  54. (yet another squeezing method)
  55. */
  56. !File: bigresult.h
  57. #define BIG_RESULT_ON_STACK 1 /* define when function results must be
  58. put on the stack; in this case, caller
  59. reserves space for it. When not defined,
  60. callee puts result in global data area and
  61. returns a pointer to it
  62. */
  63. !File: dbsymtab.h
  64. /*#define DBSYMTAB 1 /* ability to produce symbol table for debugger */
  65. !File: use_insert.h
  66. /*#define USE_INSERT 1 /* use C_insertpart mechanism */
  67. !File: uns_arith.h
  68. /*#define UNSIGNED_ARITH unsigned arith /* when it is supported */