1: /* r.h 1.2 83/08/11 */
2:
3: #include <stdio.h>
4: #include "y.tab.h"
5:
6: #
7: #define putbak(c) *ip++ = c
8: /* #define getchr() (ip>ibuf?*--ip: getc(infile[infptr])) */
9:
10: #define LET 1
11: #define DIG 2
12: #define CRAP 3
13: #define '#'
14: #define QUOTE '"'
15:
16: extern int transfer;
17:
18: #define INDENT 3 /* indent delta */
19: #ifdef gcos
20: #define CONTFLD 6
21: #endif
22: #ifdef unix
23: #define CONTFLD 1
24: #endif
25: extern int contfld; /* column for continuation char */
26: extern int contchar;
27: extern int dbg;
28: extern int yyval;
29: extern int *yypv;
30: extern int yylval;
31: extern int errorflag;
32:
33: extern char comment[]; /* save input comments here */
34: extern int comptr; /* next free slot in comment */
35: extern int printcom; /* print comments, etc., if on */
36: extern int indent; /* level of nesting for indenting */
37:
38: extern char ibuf[];
39: extern char *ip;
40:
41: extern FILE *outfil; /* output file id */
42: extern FILE *infile[];
43: extern char *curfile[];
44: extern int infptr;
45: extern int linect[];
46:
47: extern char fcname[];
48:
49: extern int svargc;
50: extern char **svargv;
51:
52: #define EOS 0
53: #define HSHSIZ 101
54: struct nlist {
55: char *name;
56: char *def;
57: int ydef;
58: struct nlist *next;
59: };
60:
61: struct nlist *lookup();
62: char *install();
63: char *malloc();
64: extern char *fcnloc;
65:
66: extern char type[];
Defined struct's
nlist
defined in line
54; used 6 times
Defined macros
defined in line
13; used 2 times
CRAP
defined in line
12; used 29 times
DIG
defined in line
11; used 17 times
EOS
defined in line
52;
never used
LET
defined in line
10; used 56 times
QUOTE
defined in line
14; used 1 times
putbak
defined in line
7; used 21 times
- in /usr/src/usr.bin/ratfor/r1.c line
375
- in /usr/src/usr.bin/ratfor/rio.c line
60-64(2),
76-80(2),
86,
111,
117,
135,
145,
174,
183,
201
- in /usr/src/usr.bin/ratfor/rlex.c line
99,
154,
207-211(2),
218,
227-233(3)
Usage of this include