summaryrefslogtreecommitdiff
path: root/src/nodes
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-07-21 20:55:00 +0300
committerAndrei Karas <akaras@inbox.ru>2015-07-21 20:55:00 +0300
commit09842c339f6ce04b1e4c64258498a05576527961 (patch)
treef3344bc00ba048fdfb206775f4630bed58b6cae2 /src/nodes
parentbb3d13f93d26d281b6c78dc47dc94e8507f26b6f (diff)
downloadparanucker-09842c339f6ce04b1e4c64258498a05576527961.tar.gz
paranucker-09842c339f6ce04b1e4c64258498a05576527961.tar.bz2
paranucker-09842c339f6ce04b1e4c64258498a05576527961.tar.xz
paranucker-09842c339f6ce04b1e4c64258498a05576527961.zip
Allow in each node set limit for child nodes to parse.
Diffstat (limited to 'src/nodes')
-rw-r--r--src/nodes/base/node.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nodes/base/node.h b/src/nodes/base/node.h
index 28b87fa..cf59265 100644
--- a/src/nodes/base/node.h
+++ b/src/nodes/base/node.h
@@ -42,7 +42,7 @@ struct Node
column(-1),
treeNumber(0),
indent(0),
- parseChilds(true),
+ parseChilds(INT_MAX),
noLabel(false),
complete(false)
{
@@ -75,7 +75,7 @@ struct Node
int column;
int treeNumber;
int indent;
- bool parseChilds;
+ int parseChilds;
bool noLabel;
bool complete;
};