Parameters 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. !File: myalloc.h
  2. #define OWNALLOC 1 /* use own superfast allocation */
  3. #define ALLOCSIZ 4096 /* allocate pieces of 4K */
  4. #define ALIGNSIZE 8 /* needed for alloc.c */
  5. !File: pathlength.h
  6. #define PATHLENGTH 1024 /* max. length of path to file */
  7. !File: idepth.h
  8. #define IDEPTH 100 /* maximum nr of stacked input buffers */
  9. !File: errout.h
  10. #define ERROUT STDERR /* file pointer for writing messages */
  11. #define MAXERR_LINE 5 /* maximum number of error messages given
  12. on the same input line. */
  13. !File: idfsize.h
  14. #define IDFSIZE 30 /* maximum significant length of an identifier */
  15. !File: numsize.h
  16. #define NUMSIZE 256 /* maximum length of a numeric constant */
  17. !File: nparams.h
  18. #define NPARAMS 32 /* maximum number of parameters of macros */
  19. !File: ifdepth.h
  20. #define IFDEPTH 256 /* maximum number of nested if-constructions */
  21. !File: maxincl.h
  22. #define MAXINCL 8 /* maximum number of #include directories */
  23. !File: density.h
  24. #define DENSITY 2 /* see switch.[ch] for an explanation */
  25. !File: lapbuf.h
  26. #define LAPBUF 4096 /* size of macro actual parameter buffer */
  27. !File: strsize.h
  28. #define ISTRSIZE 32 /* minimum number of bytes allocated for
  29. storing a string */
  30. #define RSTRSIZE 8 /* step size in enlarging the memory for
  31. the storage of a string */
  32. !File: target_sizes.h
  33. #define MAXSIZE 8 /* the maximum of the SZ_* constants */
  34. /* target machine sizes */
  35. #define SZ_CHAR (arith)1
  36. #define SZ_SHORT (arith)2
  37. #define SZ_WORD (arith)4
  38. #define SZ_INT (arith)4
  39. #define SZ_LONG (arith)4
  40. #ifndef NOFLOAT
  41. #define SZ_FLOAT (arith)4
  42. #define SZ_DOUBLE (arith)8
  43. #endif NOFLOAT
  44. #define SZ_POINTER (arith)4
  45. /* target machine alignment requirements */
  46. #define AL_CHAR 1
  47. #define AL_SHORT SZ_SHORT
  48. #define AL_WORD SZ_WORD
  49. #define AL_INT SZ_WORD
  50. #define AL_LONG SZ_WORD
  51. #ifndef NOFLOAT
  52. #define AL_FLOAT SZ_WORD
  53. #define AL_DOUBLE SZ_WORD
  54. #endif NOFLOAT
  55. #define AL_POINTER SZ_WORD
  56. #define AL_STRUCT 1
  57. #define AL_UNION 1
  58. !File: botch_free.h
  59. #undef BOTCH_FREE 1 /* botch freed memory, as a check */
  60. !File: dataflow.h
  61. #define DATAFLOW 1 /* produce some compile-time xref */
  62. !File: debug.h
  63. #define DEBUG 1 /* perform various self-tests */
  64. !File: use_tmp.h
  65. #define USE_TMP 1 /* collect exa, exp, ina and inp commands
  66. and let them precede the rest of
  67. the generated compact code */
  68. !File: parbufsize.h
  69. #define PARBUFSIZE 1024
  70. !File: textsize.h
  71. #define ITEXTSIZE 8 /* 1st piece of memory for repl. text */
  72. #define RTEXTSIZE 8 /* stepsize for enlarging repl.text */
  73. !File: inputtype.h
  74. #undef INP_READ_IN_ONE 1 /* read input file in one */
  75. !File: nopp.h
  76. #undef NOPP 1 /* use built-int preprocessor */
  77. !File: nobitfield.h
  78. #undef NOBITFIELD 1 /* implement bitfields */
  79. !File: spec_arith.h
  80. /* describes internal compiler arithmetics */
  81. #undef SPECIAL_ARITHMETICS /* something different from native long */
  82. !File: static.h
  83. #define GSTATIC /* for large global "static" arrays */
  84. !File: nofloat.h
  85. #undef NOFLOAT /* floats implemented by default */