LintPars 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. !File: lint.h
  2. #define LINT 1 /* if defined, 'lint' is produced */
  3. #define ANSI 1 /* tell l_* files it's ANSI */
  4. !File: pathlength.h
  5. #define PATHLENGTH 1024 /* max. length of path to file */
  6. !File: errout.h
  7. #define ERROUT STDERR /* file pointer for writing messages */
  8. #define ERR_SHADOW 0 /* a syntax error overshadows error messages
  9. until ERR_SHADOW symbols have been
  10. accepted without syntax error */
  11. !File: idfsize.h
  12. #define IDFSIZE 64 /* maximum significant length of an identifier */
  13. !File: numsize.h
  14. #define NUMSIZE 256 /* maximum length of a numeric constant */
  15. !File: nparams.h
  16. #define NPARAMS 32 /* maximum number of parameters */
  17. #define STDC_NPARAMS 31 /* ANSI limit on number of parameters */
  18. !File: ifdepth.h
  19. #define IFDEPTH 256 /* maximum number of nested if-constructions */
  20. !File: density.h
  21. #define DENSITY 2 /* see switch.[ch] for an explanation */
  22. !File: macbuf.h
  23. #define LAPBUF 128 /* initial size of macro replacement buffer */
  24. #define ARGBUF 128 /* initial size of macro parameter buffer(s) */
  25. !File: strsize.h
  26. #define ISTRSIZE 32 /* minimum number of bytes allocated for
  27. storing a string */
  28. #define RSTRSIZE 16 /* step size in enlarging the memory for
  29. the storage of a string */
  30. !File: trgt_sizes.h
  31. #define MAXSIZE 8 /* the maximum of the SZ_* constants */
  32. /* target machine sizes */
  33. #define SZ_CHAR 1
  34. #define SZ_SHORT 2
  35. #define SZ_WORD 4
  36. #define SZ_INT 4
  37. #define SZ_LONG 4
  38. #define SZ_FLOAT 4
  39. #define SZ_DOUBLE 8
  40. #define SZ_POINTER 4
  41. #define SZ_LNGDBL 8 /* for now */
  42. /* target machine alignment requirements */
  43. #define AL_CHAR 1
  44. #define AL_SHORT SZ_SHORT
  45. #define AL_WORD SZ_WORD
  46. #define AL_INT SZ_WORD
  47. #define AL_LONG SZ_WORD
  48. #define AL_FLOAT SZ_WORD
  49. #define AL_DOUBLE SZ_WORD
  50. #define AL_LNGDBL SZ_WORD
  51. #define AL_POINTER SZ_WORD
  52. #define AL_STRUCT 1
  53. #define AL_UNION 1
  54. !File: botch_free.h
  55. #undef BOTCH_FREE 1 /* when defined, botch freed memory, as a check */
  56. !File: dataflow.h
  57. #undef DATAFLOW 1 /* produce some compile-time xref */
  58. !File: debug.h
  59. #undef DEBUG 1 /* perform various self-tests */
  60. !File: use_tmp.h
  61. #undef PREPEND_SCOPES 1 /* collect exa, exp, ina and inp commands
  62. and if USE_TMP is defined let them
  63. precede the rest of the generated
  64. compact code */
  65. #undef USE_TMP 1 /* use C_insertpart, C_endpart mechanism
  66. to generate EM-code in the order needed
  67. for the code-generators. If not defined,
  68. the old-style peephole optimizer is
  69. needed. */
  70. !File: parbufsize.h
  71. #define PARBUFSIZE 1024
  72. !File: textsize.h
  73. #define ITEXTSIZE 32 /* 1st piece of memory for repl. text */
  74. !File: inputtype.h
  75. #define INP_READ_IN_ONE 1 /* read input file in one */
  76. !File: nopp.h
  77. #undef NOPP 1 /* if NOT defined, use built-int preprocessor */
  78. !File: nobitfield.h
  79. #undef NOBITFIELD 1 /* if NOT defined, implement bitfields */
  80. !File: spec_arith.h
  81. /* describes internal compiler arithmetics */
  82. #undef SPECIAL_ARITHMETICS /* something different from native long */
  83. #undef UNSIGNED_ARITH unsigned arith
  84. !File: static.h
  85. #define GSTATIC /* for large global "static" arrays */
  86. !File: nocross.h
  87. #undef NOCROSS 1 /* if NOT defined, cross compiler */
  88. !File: regcount.h
  89. #undef REGCOUNT 1 /* count occurrences for register messages */
  90. !File: dbsymtab.h
  91. #undef DBSYMTAB 1 /* ability to produce symbol table for debugger */