ossp-pkg/cfg/cfg_node.h 1.2 -> 1.3
--- cfg_node.h 2002/07/04 06:16:13 1.2
+++ cfg_node.h 2002/07/04 12:30:08 1.3
@@ -35,11 +35,16 @@
#include "cfg_data.h"
struct cfg_node_st {
- cfg_node_type_t type; /* type of node */
+ /* node linkage */
cfg_node_t *parent; /* pointer to parent node */
cfg_node_t *rbroth; /* pointer to right brother node */
cfg_node_t *child1; /* pointer to first child node */
+
+ /* node contents */
+ cfg_node_type_t type; /* type of node */
char *token; /* pointer to corresponding token string */
+
+ /* node annotation */
cfg_data_t data; /* annotation data */
};
|
|