diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-08 16:33:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-08 16:33:09 +0300 |
commit | be6e1735147a73427412e101fd924938ec6880d3 (patch) | |
tree | f9fdee74ac0fe74132975c9f3be09607bacc2856 /src/parsers | |
parent | f91cfd225fdd0a5d2d6bbabf3fadad11205a66e5 (diff) | |
download | paranucker-be6e1735147a73427412e101fd924938ec6880d3.tar.gz paranucker-be6e1735147a73427412e101fd924938ec6880d3.tar.bz2 paranucker-be6e1735147a73427412e101fd924938ec6880d3.tar.xz paranucker-be6e1735147a73427412e101fd924938ec6880d3.zip |
Add support for non null pointer attribute in PARM_DECL nodes.
Diffstat (limited to 'src/parsers')
-rw-r--r-- | src/parsers/decl/parm_decl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parsers/decl/parm_decl.cpp b/src/parsers/decl/parm_decl.cpp index 0f2e966..3a38a8d 100644 --- a/src/parsers/decl/parm_decl.cpp +++ b/src/parsers/decl/parm_decl.cpp @@ -40,11 +40,11 @@ void parseParmDeclNode(ParmDeclNode *node) fillDeclAutoGenerated(node); + fillDeclAttributes(node); + if (node->parseChilds <= 0) return; - fillDeclAttributes(node); - node->declType = static_cast<TypeNode*>(createParseNode( node, DECL_ARG_TYPE(node->gccNode), |