diff options
| author | gingerBill <bill@gingerbill.org> | 2020-09-22 12:06:05 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-09-22 12:06:05 +0100 |
| commit | 609af3a6513f0a35823089c090077171e87546c5 (patch) | |
| tree | f808bbea32d892c73b89a3b5cbb6da7be8dc1a61 /src/entity.cpp | |
| parent | 20e4548999c496b1c35067692403b08649cfb391 (diff) | |
Fix and clean up default procedure parameter code for non-constant types
Diffstat (limited to 'src/entity.cpp')
| -rw-r--r-- | src/entity.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; |