diff options
| author | gingerBill <bill+github@gingerbill.org> | 2016-08-10 11:53:17 +0100 |
|---|---|---|
| committer | gingerBill <bill+github@gingerbill.org> | 2016-08-10 11:53:17 +0100 |
| commit | 153c27c7556ebef0c98055d87937b942d198f629 (patch) | |
| tree | bdb5b61a78e4eed8f232a808a74fad480330529e /src/checker/expr.cpp | |
| parent | c930841f834e43df28be41e8e3509773a523ed0f (diff) | |
Tuple support in codegen
Diffstat (limited to 'src/checker/expr.cpp')
| -rw-r--r-- | src/checker/expr.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/checker/expr.cpp b/src/checker/expr.cpp index 4c1e1f937..d39c86ee0 100644 --- a/src/checker/expr.cpp +++ b/src/checker/expr.cpp @@ -58,6 +58,7 @@ void check_struct_type(Checker *c, Type *struct_type, AstNode *node) { } struct_type->structure.fields = fields; struct_type->structure.field_count = field_count; + struct_type->structure.is_packed = st->is_packed; } Type *check_get_params(Checker *c, Scope *scope, AstNode *field_list, isize field_count) { |