summaryrefslogtreecommitdiff
path: root/src/parsers/expr/addr_expr.cpp
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/parsers/expr/addr_expr.cpp
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/parsers/expr/addr_expr.cpp')
-rw-r--r--src/parsers/expr/addr_expr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parsers/expr/addr_expr.cpp b/src/parsers/expr/addr_expr.cpp
index 6c31321..36b760e 100644
--- a/src/parsers/expr/addr_expr.cpp
+++ b/src/parsers/expr/addr_expr.cpp
@@ -34,7 +34,7 @@ void parseAddrExprNode(AddrExprNode *node)
fillExprLocation(node);
Log::dump(node);
-// if (!node->parseChilds)
+// if (node->parseChilds <= 0)
// return;
// fillExprOperands(node);
@@ -48,7 +48,7 @@ void parseAddrExprNode(AddrExprNode *node)
node,
gccNode,
"operand",
- false));
+ 5));
}
else
{