diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-08 18:50:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-08 18:50:15 +0300 |
commit | 684f463d5c35dc44eaffb059a06937946ba27fd0 (patch) | |
tree | 0609b7b565a3fe5d7220e1466dc71298e6f9ac01 /src/parsers | |
parent | 7dfde2c28d373ba66404db959fea255e82e93e7c (diff) | |
download | paranucker-684f463d5c35dc44eaffb059a06937946ba27fd0.tar.gz paranucker-684f463d5c35dc44eaffb059a06937946ba27fd0.tar.bz2 paranucker-684f463d5c35dc44eaffb059a06937946ba27fd0.tar.xz paranucker-684f463d5c35dc44eaffb059a06937946ba27fd0.zip |
Increase parse level in VAR_DECL sub nodes.
Diffstat (limited to 'src/parsers')
-rw-r--r-- | src/parsers/decl/var_decl.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/parsers/decl/var_decl.cpp b/src/parsers/decl/var_decl.cpp index fe7d162..8ff0e44 100644 --- a/src/parsers/decl/var_decl.cpp +++ b/src/parsers/decl/var_decl.cpp @@ -60,19 +60,19 @@ void parseVarDeclNode(VarDeclNode *node) DECL_SIZE(node->gccNode), INTEGER_CST, "decl size 2", - 5)); + 15)); node->initial = createParseNode( node, DECL_INITIAL(node->gccNode), "initial 2", - 10); + 20); node->varType = static_cast<TypeNode*>(createParseNode( node, TREE_TYPE(node->gccNode), "var type 2", - 5)); + 15)); return; } @@ -97,7 +97,7 @@ void parseVarDeclNode(VarDeclNode *node) node, DECL_INITIAL(node->gccNode), "initial", - 10); + 20); node->varType = static_cast<TypeNode*>(createParseNode( node, |