summaryrefslogtreecommitdiff
path: root/src/parsers/decl/function_decl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parsers/decl/function_decl.cpp')
-rw-r--r--src/parsers/decl/function_decl.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/parsers/decl/function_decl.cpp b/src/parsers/decl/function_decl.cpp
index d7e6ecc..0cf4b19 100644
--- a/src/parsers/decl/function_decl.cpp
+++ b/src/parsers/decl/function_decl.cpp
@@ -34,14 +34,16 @@ void parseFunctionDeclNode(FunctionDeclNode *node)
fillType(node);
fillLocation(node);
fillDeclLabel(node);
- Log::log(node);
-
fillDeclAutoGenerated(node);
setPrintField(node, DECL_FUNCTION_VERSIONED, hasTargets);
setPrintField(node, DECL_VIRTUAL_P, isVirtual);
setPrintField(node, DECL_FINAL_P, isFinal);
setPrintField(node, TREE_READONLY, isConst);
setPrintField(node, DECL_PURE_P, isPure);
+ setPrintField(node, DECL_EXTERNAL, isExternal);
+ setPrintField(node, TREE_PUBLIC, isPublic);
+
+ Log::log(node);
fillDeclAttributes(node);
node->functionType = static_cast<FunctionTypeNode*>(createParseNode(