From 886e834edd351987afd82e87df410856ffcfdfb2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 17 Jun 2015 15:15:56 +0300 Subject: Fix fields dumping order in FUNCTION_DECL node. --- src/parsers/decl/function_decl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3-70-g09d2