#/*   @(#)macdefs	1.3 - 85/09/05 */
# include <stdio.h>
extern FILE *outfp;	/* CXREF */
# define efcode()	/* CXREF */
# define bfcode(x,y)	retlab = 1	/* CXREF */
# define defnam(p)	/* CXREF */
# define commdec(x)	/* CXREF */
# define aocode(x)	/* CXREF */
# define ejobcode(x)	/* CXREF */
# define makecc(val,i)  lastcon |= val<<(8*i);  /* pdp-11 womp next char  */

# define  ARGINIT 288 /* initial offset for arguments */
# define  AUTOINIT 0   /* initial automatic offset */
extern int  SZCHAR;
extern int  SZINT;
extern int  SZFLOAT;
extern int  SZDOUBLE;
extern int  SZLONG;
extern int  SZSHORT;
extern int SZPOINT;
extern int ALCHAR;
extern int ALINT;
extern int ALFLOAT;
extern int ALDOUBLE;
extern int ALLONG;
extern int ALSHORT;
extern int ALPOINT;
#if iAPX286
extern int ALLPOINT;
#endif
extern int ALSTRUCT;
# define SAVEADJUST 0 /* bits of adjustment required for stackframe */


/* type (INT OR LONG) big enough to hold pointers */


/*	size in which constants are converted */
/*	should be long if feasable */

# define CONSZ long
# define CONFMT "%ld"
# define CONOFMT "%lo"

/*	size in which offsets are kept
/*	should be large enough to cover address space in bits
*/

# define OFFSZ long

/* 	character set macro */

# define  CCTRANS(x) x

/*	register cookie for stack pointer */

# define STKREG 9

#if !iAPX286
/*	maximum and minimum register variable values */

# define MAXRVAR 1000
# define MINRVAR 1

#endif

/* many macro definitions for functions irrelevant to lint */

# define locctr(n) 0
# define getlab() 10
# define genswitch( x,y)
# define bccode()
# define cendarg()
# define incode(a,s) (inoff += (s))
# define fincode(a,s) (inoff += (s) )
# define vfdzero(n) (inoff += (n))
# define aobeg()
# define aoend()
#if iAPX286
# define inend()
#endif

# ifndef unix
# define NOFORTRAN  {extern int pflag; if(pflag) werror( "fortran keyword nonportable" );}
# else
# define NOFORTRAN { werror( "fortran keyword nonportable" ); }
# endif

# define LINT
extern char infile[];

#if iAPX286
# define MDL_SMALL  1
# define MDL_MIDDLE 2
# define MDL_LARGE  3
# define MDL_HUGE 4
# define MAXOFF (0100000L * SZCHAR)
# define BCSZ 100		/* table size to save break, continue labels */
# define DIMTABSZ 1000	/* size of the dimension/size table */
# define BNEST 30		/* Block Nesting Depth */
# define PARAMSZ 150	/* size of the parameter stack */
# define SWITSZ 250	/* size of switch table */
# define SYMTSZ 1300	/* size of the symbol table */
# define STKOFFSZ(lval)	( *((OFFSZ *) &lval) )
# define MAXSTRUCT	(0x10000L * SZCHAR)
# define MAXAUTO 	( 0x8000L * SZCHAR)
#endif
