diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-07 21:17:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-07 21:17:58 +0300 |
commit | 5f5a42c78472d1b62bcef34dc6c63f5682593f29 (patch) | |
tree | e6693834d355e6af2effe9fc5708212273c466bf /src/nodes | |
parent | af85b8b3124eb9d5acf2c425bc3149af5d3e4827 (diff) | |
download | paranucker-5f5a42c78472d1b62bcef34dc6c63f5682593f29.tar.gz paranucker-5f5a42c78472d1b62bcef34dc6c63f5682593f29.tar.bz2 paranucker-5f5a42c78472d1b62bcef34dc6c63f5682593f29.tar.xz paranucker-5f5a42c78472d1b62bcef34dc6c63f5682593f29.zip |
Store sub nodes in named pointers in TREE_LIST.
Diffstat (limited to 'src/nodes')
-rw-r--r-- | src/nodes/list/tree_list.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/nodes/list/tree_list.h b/src/nodes/list/tree_list.h index ffe374c..ebb11d1 100644 --- a/src/nodes/list/tree_list.h +++ b/src/nodes/list/tree_list.h @@ -27,9 +27,16 @@ struct TreeListNode : public Node { TreeListNode() : - Node() + Node(), + purpose(nullptr), + value(nullptr), + chain(nullptr) { } + + Node *purpose; + Node *value; + Node *chain; }; #endif // NODES_TREELISTNODE_H |