1: #
2: /*
3: ** COPYRIGHT
4: **
5: ** The Regents of the University of California
6: **
7: ** 1977
8: **
9: ** This program material is the property of the
10: ** Regents of the University of California and
11: ** may not be reproduced or disclosed without
12: ** the prior written permission of the owner.
13: */
14:
15: /*
16: ** Version:
17: ** @(#)parser.h 8.3 2/8/85
18: */
19:
20:
21:
22: # define DBUFSIZ 2000 /* size of buffer for dbu commands */
23: # define TREEMAX 2500 /* max number of bytes for tree */
24: # define MAXATT 150 /* max number of attributes in the att stash */
25:
26: # define V6POINT3COMPAT
27:
28: # define WARN 0 /* for a non fatal error */
29: # define FATAL 1 /* for a fatal error */
30:
31: /* mode parameters for range table manipulation */
32: # define LOOKREL 1
33: # define LOOKVAR 2
34: # define R_INTERNAL 3
35: # define R_EXTERNAL 4
36: # define R_IMPLICIT 5
37:
38: # define RELVUSED 01
39:
40: /* the first argument in argv which may be an ad hoc flag */
41: # define FREEFLAGS 6
42:
43: /* -- ASSORTED DATA STRUCTURES -- */
44: struct atstash /* attribute table */
45: {
46: char atbid; /* attribute number */
47: char atbfrmt; /* attribute form type */
48: char atbfrml; /* attribute form length */
49: char atbname[MAXNAME]; /* attribute name */
50: struct atstash *atbnext; /* pointer to next entry in chain */
51: };
52:
53: struct parrng /* auxiliary range table */
54: {
55: DESC vardesc;
56: struct parrng *frontpt;
57: struct parrng *backpt;
58: struct atstash *attlist; /* head of attrib list for this reln */
59: int relvused; /* whether variable in use */
60: };
61:
62: typedef struct parrng PARRNG;
63:
64: struct constop /* constant operator lookup table */
65: {
66: char *copname; /* string name for identification */
67: int copnum; /* op number */
68: char coptype; /* op result type for formating */
69: char coplen; /* op result length for formatting */
70: };
Defined struct's
atstash
defined in line
44; used 72 times
- in line 50(2),
58(2)
- in /usr/ingres/source/parser/att_fcn.c line
16-21(4),
27-28(4),
63(2),
101(2),
107(2),
114-115(4),
175-186(10),
240-245(4),
285(2),
315-317(4),
355-358(4),
414(2)
- in /usr/ingres/source/parser/grammar.y line
34(2),
50-55(4),
65(2)
- in /usr/ingres/source/parser/parser.c line
33-34(4),
40-42(4)
- in /usr/ingres/source/parser/tree.c line
26(2),
144(2),
157(2)
- in /usr/ingres/source/parser/xdot.c line
34(2)
Defined typedef's
PARRNG
defined in line
62; used 34 times
- in /usr/ingres/source/parser/att_fcn.c line
106,
117,
183-187(2),
247,
359-361(2),
416
- in /usr/ingres/source/parser/control.c line
121,
406
- in /usr/ingres/source/parser/grammar.y line
68
- in /usr/ingres/source/parser/range_fcn.c line
16-21(3),
34,
54,
109,
182,
258,
286,
313-315(3),
355-358(2),
396-397(2),
421,
502,
513,
531
- in /usr/ingres/source/parser/tree.c line
154
- in /usr/ingres/source/parser/xdot.c line
25,
36
Defined macros
FATAL
defined in line
29; used 1 times
WARN
defined in line
28; used 18 times
- in /usr/ingres/source/parser/att_fcn.c line
156,
295
- in /usr/ingres/source/parser/format.c line
66,
86,
157,
225,
232,
257,
289,
313,
325,
345
- in /usr/ingres/source/parser/parser.c line
94-99(2)
- in /usr/ingres/source/parser/range_fcn.c line
409
- in /usr/ingres/source/parser/tree.c line
85,
194-199(2)
Usage of this include