From bf41d022ce9736a92097f416ab96fca7ab4594ca Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sun, 23 Aug 2026 14:05:26 +0200 Subject: Reject 0-sized variables --- boot/name_analysis.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'boot/name_analysis.cc') 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()); + } + void name_analysis_visitor::visit(enumeration_type_expression *expression) { std::vector member_names; -- cgit v1.2.3