|
|
1.1 root 1: /* @(#)macdefs 1.2 (Berkeley) 4/1/83 */
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:
39: /* size in which offsets are kept
40: /* should be large enough to cover address space in bits
41: */
42:
43: # define OFFSZ long
44:
45: /* character set macro */
46:
47: # define CCTRANS(x) x
48:
49: /* register cookie for stack pointer */
50:
51: # define STKREG 9
52:
53: /* maximum and minimum register variable values */
54:
55: # define MAXRVAR 1000
56: # define MINRVAR 1
57:
58: /* many macro definitions for functions irrelevant to lint */
59:
60: # define locctr(n) 0
61: # define getlab() 10
62: # define genswitch( x,y)
63: # define bccode()
64: # define cendarg()
65: # define incode(a,s) (inoff += (s))
66: # define fincode(a,s) (inoff += (s) )
67: # define vfdzero(n) (inoff += (n))
68: # define aobeg()
69: # define aoend()
70:
71: # ifndef unix
72: # define NOFORTRAN {extern int pflag; if(pflag) werror( "fortran keyword nonportable" );}
73: # else
74: # define NOFORTRAN { werror( "fortran keyword nonportable" ); }
75: # endif
76:
77: # define LINT
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.