summaryrefslogtreecommitdiff
path: root/src/parsers
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-17 15:15:56 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-17 15:15:56 +0300
commit886e834edd351987afd82e87df410856ffcfdfb2 (patch)
tree45bbfddd8606b44a9d5df65db50a0d363f1de1ef /src/parsers
parent23bc397e6f0751cbf7016c3e68b5d92e7ab010bc (diff)
downloadparanucker-886e834edd351987afd82e87df410856ffcfdfb2.tar.gz
paranucker-886e834edd351987afd82e87df410856ffcfdfb2.tar.bz2
paranucker-886e834edd351987afd82e87df410856ffcfdfb2.tar.xz
paranucker-886e834edd351987afd82e87df410856ffcfdfb2.zip
Fix fields dumping order in FUNCTION_DECL node.
Diffstat (limited to 'src/parsers')
-rw-r--r--src/parsers/decl/function_decl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/parsers/decl/function_decl.cpp b/src/parsers/decl/function_decl.cpp
index 08304de..c619d86 100644
--- a/src/parsers/decl/function_decl.cpp
+++ b/src/parsers/decl/function_decl.cpp
@@ -34,10 +34,11 @@ void parseFunctionDeclNode(FunctionDeclNode *node)
fillType(node);
fillLocation(node);
fillDeclLabel(node);
- fillDeclAutoGenerated(node);
Log::dump(node);
+ fillDeclAutoGenerated(node);
+
setPrintField(node, DECL_FUNCTION_VERSIONED, hasTargets);
setPrintField(node, DECL_VIRTUAL_P, isVirtual);
setPrintField(node, DECL_FINAL_P, isFinal);