# 2.11BSD#431 - /usr/src/usr.bin/lint/macdefs.h

##### Macros

    ARGINIT           X
    AUTOINIT          X
    CCTRANS           X
    CONFMT            X
    CONOFMT           X
    CONSZ             X
    LABFMT            X
    LINT              X
    MAXRVAR           X
    MINRVAR           X
    NOFORTRAN         X
    OFFSZ             X
    SAVEADJUST        X
    STKREG            X
    aobeg             X
    aoend             X
    bccode            X
    cendarg           X
    econvert          X
    fincode           X
    genswitch         X
    getlab            X
    incode            X
    locctr            X
    makecc            X
    ncopy             X
    vfdzero           X

       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

ARGINIT defined in line 9; never used
AUTOINIT defined in line 10; never used
CCTRANS defined in line 48; never used
CONFMT defined in line 36; never used
CONOFMT defined in line 37; never used
CONSZ defined in line 35; never used
LABFMT defined in line 38; never used
LINT defined in line 82; never used
MAXRVAR defined in line 56; never used
MINRVAR defined in line 57; never used
NOFORTRAN defined in line 79; never used
OFFSZ defined in line 44; never used
SAVEADJUST defined in line 26; never used
STKREG defined in line 52; never used
aobeg defined in line 72; never used
aoend defined in line 73; never used
bccode defined in line 67; never used
cendarg defined in line 68; never used
econvert defined in line 74; never used
fincode defined in line 70; never used
genswitch defined in line 66; never used
getlab defined in line 65; never used
incode defined in line 69; never used
locctr defined in line 64; never used
makecc defined in line 6; never used
ncopy defined in line 60; never used
vfdzero defined in line 71; never used

#### Usage of this include

macdefs.h used 1 times

- in /usr/src/usr.bin/lint/lpass2.c line 5

Last modified: 1986-01-11 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 706 |