File:  [CSRG BSD Unix] / 43BSDTahoe / ucb / pascal / pdx / sym / sym.rep
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:58 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43tahoe
BSD 4.3tahoe

/*
 * Copyright (c) 1982 Regents of the University of California.
 * All rights reserved.  The Berkeley software License Agreement
 * specifies the terms and conditions for redistribution.
 *
 *	@(#)sym.rep	5.2 (Berkeley) 6/7/85
 */

/*
 * This file contains the definition of the representation of the SYM type.
 */

struct sym {
	char *symbol;
	char class;
	char blkno;
	SYM *type;
	SYM *chain;
	union {
		int offset;		/* variable address */
		long iconval;		/* integer constant value */
		double fconval;		/* floating constant value */
		struct {		/* range bounds */
			long lower;
			long upper;
		} rangev;
		struct {		/* address of function value, code */
			int offset;
			ADDRESS codeloc;
		} funcv;
		struct {		/* variant record info */
			int size;
			SYM *vtorec;
			SYM *vtag;
		} varnt;
		struct {		/* information for reserved words */
			int toknum;
			int tokval;
		} token;
	} symvalue;
	SYM *func;
	SYM *next_sym;
};

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.