From 09842c339f6ce04b1e4c64258498a05576527961 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 21 Jul 2015 20:55:00 +0300 Subject: Allow in each node set limit for child nodes to parse. --- src/parsers/blocknode.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/parsers/blocknode.cpp') diff --git a/src/parsers/blocknode.cpp b/src/parsers/blocknode.cpp index c4664ab..e039a35 100644 --- a/src/parsers/blocknode.cpp +++ b/src/parsers/blocknode.cpp @@ -39,7 +39,7 @@ void parseBlockNode(BlockNode *node) } Log::dump(node); - if (!node->parseChilds) + if (node->parseChilds <= 0) return; FOR_CHAIN(node->gccNode, it, BLOCK_VARS, DECL_CHAIN) @@ -76,7 +76,7 @@ void parseBlockNode(BlockNode *node) node, it, "block chain", - false)); + 0)); } */ FOR_CHAIN(node->gccNode, it, BLOCK_FRAGMENT_CHAIN, BLOCK_FRAGMENT_CHAIN) -- cgit v1.2.3-70-g09d2