From 609af3a6513f0a35823089c090077171e87546c5 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Tue, 22 Sep 2020 12:06:05 +0100 Subject: Fix and clean up default procedure parameter code for non-constant types --- src/entity.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/entity.cpp') diff --git a/src/entity.cpp b/src/entity.cpp index ab4d6fd40..3d354b9c8 100644 --- a/src/entity.cpp +++ b/src/entity.cpp @@ -81,6 +81,7 @@ enum ParameterValueKind { struct ParameterValue { ParameterValueKind kind; + Ast *original_ast_expr; union { ExactValue value; Ast *ast_value; @@ -126,6 +127,7 @@ struct Entity { i32 field_src_index; ParameterValue param_value; + Ast * param_expr; String thread_local_model; Entity * foreign_library; -- cgit v1.2.3