|
|
1.1 root 1: /*
2: * Copyright (c) 1982 Regents of the University of California.
3: * All rights reserved. The Berkeley software License Agreement
4: * specifies the terms and conditions for redistribution.
5: *
6: * @(#)sym.rep 5.2 (Berkeley) 6/7/85
7: */
8:
9: /*
10: * This file contains the definition of the representation of the SYM type.
11: */
12:
13: struct sym {
14: char *symbol;
15: char class;
16: char blkno;
17: SYM *type;
18: SYM *chain;
19: union {
20: int offset; /* variable address */
21: long iconval; /* integer constant value */
22: double fconval; /* floating constant value */
23: struct { /* range bounds */
24: long lower;
25: long upper;
26: } rangev;
27: struct { /* address of function value, code */
28: int offset;
29: ADDRESS codeloc;
30: } funcv;
31: struct { /* variant record info */
32: int size;
33: SYM *vtorec;
34: SYM *vtag;
35: } varnt;
36: struct { /* information for reserved words */
37: int toknum;
38: int tokval;
39: } token;
40: } symvalue;
41: SYM *func;
42: SYM *next_sym;
43: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.