67 lines
1.5 KiB
Plaintext
67 lines
1.5 KiB
Plaintext
!File: errout.h
|
|
#define ERROUT STDERR /* file pointer for writing messages */
|
|
#define MAXERR_LINE 5 /* maximum number of error messages given
|
|
on the same input line. */
|
|
|
|
|
|
!File: idfsize.h
|
|
#define IDFSIZE 30 /* maximum significant length of an identifier */
|
|
|
|
|
|
!File: numsize.h
|
|
#define NUMSIZE 256 /* maximum length of a numeric constant */
|
|
|
|
|
|
!File: strsize.h
|
|
#define ISTRSIZE 32 /* minimum number of bytes allocated for
|
|
storing a string */
|
|
#define RSTRSIZE 8 /* step size in enlarging the memory for
|
|
the storage of a string */
|
|
|
|
|
|
!File: target_sizes.h
|
|
#define MAXSIZE 8 /* the maximum of the SZ_* constants */
|
|
|
|
/* target machine sizes */
|
|
#define SZ_CHAR (arith)1
|
|
#define SZ_SHORT (arith)2
|
|
#define SZ_WORD (arith)4
|
|
#define SZ_INT (arith)4
|
|
#define SZ_LONG (arith)4
|
|
#define SZ_FLOAT (arith)4
|
|
#define SZ_DOUBLE (arith)8
|
|
#define SZ_POINTER (arith)4
|
|
|
|
/* target machine alignment requirements */
|
|
#define AL_CHAR 1
|
|
#define AL_SHORT SZ_SHORT
|
|
#define AL_WORD SZ_WORD
|
|
#define AL_INT SZ_WORD
|
|
#define AL_LONG SZ_WORD
|
|
#define AL_FLOAT SZ_WORD
|
|
#define AL_DOUBLE SZ_WORD
|
|
#define AL_POINTER SZ_WORD
|
|
#define AL_STRUCT 1
|
|
#define AL_UNION 1
|
|
|
|
|
|
!File: debug.h
|
|
#define DEBUG 1 /* perform various self-tests */
|
|
extern char options[];
|
|
#ifdef DEBUG
|
|
#define DO_DEBUG(n, x) ((n) <= options['D'] && (x))
|
|
#else
|
|
#define DO_DEBUG(n, x)
|
|
#endif DEBUG
|
|
|
|
!File: inputtype.h
|
|
#undef INP_READ_IN_ONE 1 /* read input file in one */
|
|
|
|
|
|
!File: maxset.h
|
|
#define MAXSET 1024 /* maximum number of elements in a set,
|
|
but what is a reasonable choice ???
|
|
*/
|
|
|
|
|