17 lines
510 B
C
17 lines
510 B
C
/* $Id$ */
|
|
#ifndef _PNODE_H
|
|
#define _PNODE_H
|
|
|
|
struct pnode {
|
|
char *pn_name; /* If non-NULL, the name. */
|
|
struct dvec *pn_value; /* Non-NULL in a terminal node. */
|
|
struct func *pn_func; /* Non-NULL is a function. */
|
|
struct op *pn_op; /* Operation if the above two NULL. */
|
|
struct pnode *pn_left; /* Left branch or function argument. */
|
|
struct pnode *pn_right; /* Right branch. */
|
|
struct pnode *pn_next; /* For expression lists. */
|
|
int pn_use; /* usage counter */
|
|
} ;
|
|
|
|
#endif
|