#define INTERDATA 2 #define GCOS 3 #define PDP11 4 #define IBM 5 #define CMACH 6 #define VAX 7 #define DMR 2 #define PCC 3 #ifndef FAMILY FAMILY NOT DEFINED !!! Family = FAMILY #endif #ifndef HERE HERE NOT DEFINED !!!! Here = HERE #endif #define M(x) (1<headblock.tag==TCONST && ISINT(z->headblock.vtype)) #define ISCHAR(z) (z->headblock.vtype==TYCHAR) #define ISINT(z) ONEOF(z, MSKINT) #define ISCONST(z) (z->headblock.tag==TCONST) #define ISERROR(z) (z->headblock.tag==TERROR) #define ISPLUSOP(z) (z->headblock.tag==TEXPR && z->exprblock.opcode==OPPLUS) #define ISSTAROP(z) (z->headblock.tag==TEXPR && z->exprblock.opcode==OPSTAR) #define ISONE(z) (ISICON(z) && z->constblock.const.ci==1) #define INT(z) ONEOF(z, MSKINT|MSKCHAR) #define ICON(z) mkintcon( (ftnint)(z) ) #define CHCON(z) mkstrcon(strlen(z), z) #if HERE == PDP11 /* not enough space in compiler for checks */ # define NO66(s) # define NOEXT(s) #else # define NO66(s) if(no66flag) err66(s) # define NOEXT(s) if(noextflag) errext(s) #endif /* round a up to a multiple of b */ #define roundup(a,b) ( b * ( (a+b-1)/b) )