aboutsummaryrefslogtreecommitdiff
path: root/boot/name_analysis.cc
diff options
context:
space:
mode:
Diffstat (limited to 'boot/name_analysis.cc')
-rw-r--r--boot/name_analysis.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/boot/name_analysis.cc b/boot/name_analysis.cc
index 1ad66a8..d4b8643 100644
--- a/boot/name_analysis.cc
+++ b/boot/name_analysis.cc
@@ -507,6 +507,11 @@ namespace elna::boot
this->current_type = type(result_type);
}
+ void name_analysis_visitor::visit(extern_type_expression *)
+ {
+ this->current_type = type(std::make_shared<extern_type>());
+ }
+
void name_analysis_visitor::visit(enumeration_type_expression *expression)
{
std::vector<std::string> member_names;