1*5541Slinton/* Copyright (c) 1982 Regents of the University of California */
2*5541Slinton
3*5541Slintonstatic char sccsid[] = "@(#)tree.rep 1.1 01/18/82";
4*5541Slinton
5*5541Slinton/*
6*5541Slinton * representation of a parse tree
7*5541Slinton *
8*5541Slinton * This should have a union in it, but unions just don't
9*5541Slinton * seem to work right in C.  I don't want to have to specify an
10*5541Slinton * extra level of referencing, e.g. a.b.c, because there's really
11*5541Slinton * only one level there.
12*5541Slinton */
13*5541Slinton
14*5541Slintonstruct node {
15*5541Slinton	OP op;
16*5541Slinton	SYM *nodetype;
17*5541Slinton	NODE *left, *right;
18*5541Slinton	SYM *nameval;
19*5541Slinton	long lconval;
20*5541Slinton	double fconval;
21*5541Slinton	char *sconval;
22*5541Slinton	NODE *what, *where, *cond;
23*5541Slinton};
24