diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-09 23:44:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-09 23:44:50 +0300 |
commit | 33bd8b0eab143c6ab7cf228f8ad429daa3cba060 (patch) | |
tree | ac2ba6b96e11a6e6fa3753ecc98e57e48e8df994 /src/parsers/expr/ne_expr.cpp | |
parent | 720a4f2590186e38e1aca5331ba0d57055305c8e (diff) | |
download | paranucker-33bd8b0eab143c6ab7cf228f8ad429daa3cba060.tar.gz paranucker-33bd8b0eab143c6ab7cf228f8ad429daa3cba060.tar.bz2 paranucker-33bd8b0eab143c6ab7cf228f8ad429daa3cba060.tar.xz paranucker-33bd8b0eab143c6ab7cf228f8ad429daa3cba060.zip |
Add flag for each node parser for parse child nodes or not.
This solve recursion issue.
Diffstat (limited to 'src/parsers/expr/ne_expr.cpp')
-rw-r--r-- | src/parsers/expr/ne_expr.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/parsers/expr/ne_expr.cpp b/src/parsers/expr/ne_expr.cpp index ba20614..a6a155d 100644 --- a/src/parsers/expr/ne_expr.cpp +++ b/src/parsers/expr/ne_expr.cpp @@ -34,6 +34,9 @@ void parseNeExprNode(NeExprNode *node) fillExprLocation(node); Log::dump(node); + if (!node->parseChilds) + return; + fillExprOperands(node); } |