From 7a05e18efb35330475e7ee6253f9fec6103c560f Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sat, 9 Apr 2016 08:55:53 -0700 Subject: implement @err_name builtin function --- src/analyze.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/analyze.cpp') diff --git a/src/analyze.cpp b/src/analyze.cpp index cffe076c9f..0ec07c8ac2 100644 --- a/src/analyze.cpp +++ b/src/analyze.cpp @@ -454,7 +454,7 @@ static void slice_type_common_init(CodeGen *g, TypeTableEntry *child_type, entry->data.structure.fields[1].gen_index = 1; } -static TypeTableEntry *get_slice_type(CodeGen *g, TypeTableEntry *child_type, bool is_const) { +TypeTableEntry *get_slice_type(CodeGen *g, TypeTableEntry *child_type, bool is_const) { assert(child_type->id != TypeTableEntryIdInvalid); TypeTableEntry **parent_pointer = &child_type->unknown_size_array_parent[(is_const ? 1 : 0)]; -- cgit v1.2.3