1: /* @(#)macdefs.h 1.5 (Berkeley) 1/8/86 */
2:
3: #if defined(pdp11) || defined(vax)
4: #define makecc(val,i) lastcon |= val<<(8*i); /* pdp-11 womp next char */
5: #else
6: #define makecc(val,i) lastcon = i ? (val<<8)|lastcon : val
7: #endif
8:
9: # define ARGINIT 288 /* initial offset for arguments */
10: # define AUTOINIT 0 /* initial automatic offset */
11: extern int SZCHAR;
12: extern int SZINT;
13: extern int SZFLOAT;
14: extern int SZDOUBLE;
15: extern int SZLONG;
16: extern int SZSHORT;
17: extern int SZPOINT;
18: extern int ALCHAR;
19: extern int ALINT;
20: extern int ALFLOAT;
21: extern int ALDOUBLE;
22: extern int ALLONG;
23: extern int ALSHORT;
24: extern int ALPOINT;
25: extern int ALSTRUCT;
26: # define SAVEADJUST 0 /* bits of adjustment required for stackframe */
27:
28:
29: /* type (INT OR LONG) big enough to hold pointers */
30:
31:
32: /* size in which constants are converted */
33: /* should be long if feasable */
34:
35: # define CONSZ long
36: # define CONFMT "%Ld"
37: # define CONOFMT "%Lo"
38: # define LABFMT "L%d"
39:
40: /* size in which offsets are kept
41: /* should be large enough to cover address space in bits
42: */
43:
44: # define OFFSZ long
45:
46: /* character set macro */
47:
48: # define CCTRANS(x) x
49:
50: /* register cookie for stack pointer */
51:
52: # define STKREG 9
53:
54: /* maximum and minimum register variable values */
55:
56: # define MAXRVAR 1000
57: # define MINRVAR 1
58:
59: /* macros carried over from the PCC */
60: # define ncopy(q, p) ((q)->in = (p)->in)
61:
62: /* many macro definitions for functions irrelevant to lint */
63:
64: # define locctr(n) 0
65: # define getlab() 10
66: # define genswitch( x,y)
67: # define bccode()
68: # define cendarg()
69: # define incode(a,s) (inoff += (s))
70: # define fincode(a,s) (inoff += (s) )
71: # define vfdzero(n) (inoff += (n))
72: # define aobeg()
73: # define aoend()
74: # define econvert(p)
75:
76: # ifndef unix
77: # define NOFORTRAN {extern int pflag; if(pflag) werror( "fortran keyword nonportable" );}
78: # else
79: # define NOFORTRAN { werror( "fortran keyword nonportable" ); }
80: # endif
81:
82: # define LINT
Defined macros
CONSZ
defined in line
35;
never used
LINT
defined in line
82;
never used
OFFSZ
defined in line
44;
never used
aobeg
defined in line
72;
never used
aoend
defined in line
73;
never used
makecc
defined in line
6;
never used
ncopy
defined in line
60;
never used
Usage of this include