# 2.11BSD#431 - /usr/src/usr.bin/struct/0.extr.c

##### Variables

    ENTLST            X
    FMTLST            X
    begchar           X
    begline           X
    comchar           X
    counter           X
    doloc             X
    doptr             X
    dostack           X
    endchar           X
    endcom            X
    endlab            X
    endline           X
    errlab            X
    exp               X
    flag              X
    inc               X
    linelabs          X
    lswnum            X
    nameline          X
    newlab            X
    nlabs             X
    p1                X
    p3                X
    postrw            X
    pred              X
    prerw             X
    r1                X
    r2                X
    reflab            X
    rtnbeg            X
    stcode            X
    stflag            X
    swptr             X

##### Macros

    maxdo             X

##### struct's

    lablist           X

       1: #ifndef lint
       2: static char sccsid[] = "@(#)0.extr.c	4.1	(Berkeley)	2/11/83";
       3: #endif not lint
       4:
       5: #include <stdio.h>
       6: #include "def.h"
       7: struct lablist  {long labelt;  struct lablist *nxtlab; };
       8: struct lablist *endlab, *errlab, *reflab, *linelabs, *newlab;
       9:
      10: int nameline;           /* line number of function/subroutine st., if any */
      11: int stflag;     /* determines whether at beginning or middle of block of straight line code */
      12:
      13:
      14:
      15: int   nlabs, lswnum, swptr, flag,
      16:      counter, p1, p3, begline, endline, r1,r2, endcom;
      17: long begchar, endchar, comchar;
      18:
      19:
      20: char *pred, *inc, *prerw, *postrw, *exp, *stcode;
      21:
      22: #define maxdo   20  /* max nesting of do loops */
      23: long dostack[maxdo];        /* labels of do nodes */
      24: int doloc[maxdo];       /* loc of do node */
      25: int doptr;
      26:
      27:
      28: struct list *FMTLST;        /* list of FMTVX's generated */
      29: struct list *ENTLST;        /* list of STLNVX nodes corresponding to entry statements */
      30: long rtnbeg;    /* number of chars up to beginning of current routine */

#### Defined variables

ENTLST defined in line 29; used 3 times

- in /usr/src/usr.bin/struct/1.init.c line 46
- in /usr/src/usr.bin/struct/1.recog.c line 200(2)

FMTLST defined in line 28; used 3 times

- in /usr/src/usr.bin/struct/1.init.c line 46
- in /usr/src/usr.bin/struct/1.recog.c line 90(2)

begchar defined in line 17; used 2 times

- in /usr/src/usr.bin/struct/1.init.c line 36
- in /usr/src/usr.bin/struct/1.node.c line 36

begline defined in line 16; used 5 times

- in /usr/src/usr.bin/struct/1.init.c line 36
- in /usr/src/usr.bin/struct/1.node.c line 33
- in /usr/src/usr.bin/struct/1.recog.c line 96, 121, 214

comchar defined in line 17; used 5 times

- in /usr/src/usr.bin/struct/1.init.c line 14, 35
- in /usr/src/usr.bin/struct/1.recog.c line 86, 104, 197

counter defined in line 16; used 1 times

- in /usr/src/usr.bin/struct/1.init.c line 32

doloc defined in line 24; used 4 times

- in /usr/src/usr.bin/struct/1.recog.c line 131, 258, 298-299(2)

doptr defined in line 25; used 11 times

- in /usr/src/usr.bin/struct/1.init.c line 44
- in /usr/src/usr.bin/struct/1.recog.c line 126-131(3), 256-258(3), 296-299(4)

dostack defined in line 23; used 3 times

- in /usr/src/usr.bin/struct/1.recog.c line 130, 257, 296

endchar defined in line 17; used 4 times

- in /usr/src/usr.bin/struct/1.init.c line 13, 23, 35-36(2)

endcom defined in line 16; used 6 times

- in /usr/src/usr.bin/struct/1.init.c line 13, 34
- in /usr/src/usr.bin/struct/1.node.c line 33
- in /usr/src/usr.bin/struct/1.recog.c line 87, 105, 198

endlab defined in line 8; used 3 times

- in /usr/src/usr.bin/struct/1.init.c line 37
- in /usr/src/usr.bin/struct/1.recog.c line 152-155(2)

endline defined in line 16; used 9 times

- in /usr/src/usr.bin/struct/1.init.c line 13, 22, 34-36(2)
- in /usr/src/usr.bin/struct/1.recog.c line 87, 96, 105, 121, 198

errlab defined in line 8; used 3 times

- in /usr/src/usr.bin/struct/1.init.c line 37
- in /usr/src/usr.bin/struct/1.recog.c line 159-162(2)

exp defined in line 20; used 3 times

- in /usr/src/usr.bin/struct/1.recog.c line 188-192(2), 322

flag defined in line 15; used 1 times

- in /usr/src/usr.bin/struct/1.init.c line 32

inc defined in line 20; used 1 times

- in /usr/src/usr.bin/struct/1.recog.c line 132

linelabs defined in line 8; used 3 times

- in /usr/src/usr.bin/struct/1.init.c line 31
- in /usr/src/usr.bin/struct/1.recog.c line 316, 326

lswnum defined in line 15; used 1 times

- in /usr/src/usr.bin/struct/1.init.c line 32

nameline defined in line 10; used 1 times

- in /usr/src/usr.bin/struct/1.init.c line 24

newlab defined in line 8; used 1 times

- in /usr/src/usr.bin/struct/1.init.c line 31

nlabs defined in line 15; used 13 times

- in /usr/src/usr.bin/struct/1.init.c line 32
- in /usr/src/usr.bin/struct/1.recog.c line 17(2), 182-187(3), 313-316(3), 324-328(4)

p1 defined in line 16; used 1 times

- in /usr/src/usr.bin/struct/1.init.c line 32

p3 defined in line 16; used 1 times

- in /usr/src/usr.bin/struct/1.init.c line 33

postrw defined in line 20; used 1 times

- in /usr/src/usr.bin/struct/1.recog.c line 168

pred defined in line 20; used 6 times

- in /usr/src/usr.bin/struct/1.recog.c line 42, 139-147(5)

prerw defined in line 20; used 1 times

- in /usr/src/usr.bin/struct/1.recog.c line 167

r1 defined in line 16; used 1 times

- in /usr/src/usr.bin/struct/1.init.c line 38

r2 defined in line 16; used 1 times

- in /usr/src/usr.bin/struct/1.init.c line 38

reflab defined in line 8; used 3 times

- in /usr/src/usr.bin/struct/1.init.c line 37
- in /usr/src/usr.bin/struct/1.recog.c line 169-170(2)

rtnbeg defined in line 30; never used
sccsid defined in line 2; never used
stcode defined in line 20; used 1 times

- in /usr/src/usr.bin/struct/1.recog.c line 110

stflag defined in line 11; used 6 times

- in /usr/src/usr.bin/struct/1.init.c line 25
- in /usr/src/usr.bin/struct/1.recog.c line 93-96(3), 103, 208

swptr defined in line 15; used 1 times

- in /usr/src/usr.bin/struct/1.init.c line 32

#### Defined struct's

lablist defined in line 7; used 4 times

- in line 7-8(4)

#### Defined macros

maxdo defined in line 22; used 2 times

- in line 23-24(2)

Last modified: 1987-02-17 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 803 |