|
|
1.1 ! root 1: /* Copyright (c) 1982 Regents of the University of California */ ! 2: ! 3: /* static char sccsid[] = "@(#)tree.rep 1.2 1/18/82"; */ ! 4: ! 5: /* ! 6: * representation of a parse tree ! 7: * ! 8: * This should have a union in it, but unions just don't ! 9: * seem to work right in C. I don't want to have to specify an ! 10: * extra level of referencing, e.g. a.b.c, because there's really ! 11: * only one level there. ! 12: */ ! 13: ! 14: struct node { ! 15: OP op; ! 16: SYM *nodetype; ! 17: NODE *left, *right; ! 18: SYM *nameval; ! 19: long lconval; ! 20: double fconval; ! 21: char *sconval; ! 22: NODE *what, *where, *cond; ! 23: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.