/*- * Copyright (c) 1982, 1993 * The Regents of the University of California. All rights reserved. * * %sccs.include.redist.c% * * @(#)tree.rep 8.1 (Berkeley) 06/06/93 */ /* * representation of a parse tree * * This should have a union in it, but unions just don't * seem to work right in C. I don't want to have to specify an * extra level of referencing, e.g. a.b.c, because there's really * only one level there. */ struct node { OP op; SYM *nodetype; NODE *left, *right; SYM *nameval; long lconval; double fconval; char *sconval; NODE *what, *where, *cond; };