diff options
| author | gingerBill <bill@gingerbill.org> | 2023-01-12 00:47:20 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-01-12 00:47:20 +0000 |
| commit | 520ff731de908f63c8f5fe21ea058b8590d4285d (patch) | |
| tree | d1c0cb00882295e742526883132d06a1d3feb864 /src/check_decl.cpp | |
| parent | e9cfe698bad140fcfb6dda6baf1e8b2e00e52003 (diff) | |
Add `ArenaTemp` to the compiler
Diffstat (limited to 'src/check_decl.cpp')
| -rw-r--r-- | src/check_decl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/check_decl.cpp b/src/check_decl.cpp index d4ae9c59d..8f4534fb9 100644 --- a/src/check_decl.cpp +++ b/src/check_decl.cpp @@ -117,6 +117,7 @@ gb_internal void check_init_variables(CheckerContext *ctx, Entity **lhs, isize l // NOTE(bill): If there is a bad syntax error, rhs > lhs which would mean there would need to be // an extra allocation + TEMPORARY_ALLOCATOR_GUARD(); auto operands = array_make<Operand>(temporary_allocator(), 0, 2*lhs_count); check_unpack_arguments(ctx, lhs, lhs_count, &operands, inits, true, false); |