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/decl/result_decl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parsers/decl/result_decl.cpp') diff --git a/src/parsers/decl/result_decl.cpp b/src/parsers/decl/result_decl.cpp index 6fde94a..d6ef1f8 100644 --- a/src/parsers/decl/result_decl.cpp +++ b/src/parsers/decl/result_decl.cpp @@ -39,7 +39,7 @@ void parseResultDeclNode(ResultDeclNode *node) fillDeclAutoGenerated(node); - if (!node->parseChilds) + if (node->parseChilds <= 0) return; fillDeclAttributes(node); -- cgit v1.2.3-70-g09d2