aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend.hpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2026-02-02 11:19:00 +0000
committergingerBill <gingerBill@users.noreply.github.com>2026-02-02 11:19:00 +0000
commit63c4faca75635c0203ff576d7392fe7a0f9bca6c (patch)
treed3636b984cd89d07d1cf7d4e1b108ce09bc7dd22 /src/llvm_backend.hpp
parentfde90931ded40cc9ebbbb9c80924df2cd20b2e60 (diff)
Fix positions for debug locations in `defer`, loops, and `switch` clauses
Diffstat (limited to 'src/llvm_backend.hpp')
-rw-r--r--src/llvm_backend.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/llvm_backend.hpp b/src/llvm_backend.hpp
index 3491c0d39..a8076d75e 100644
--- a/src/llvm_backend.hpp
+++ b/src/llvm_backend.hpp
@@ -290,6 +290,7 @@ struct lbDefer {
isize scope_index;
isize context_stack_count;
lbBlock * block;
+ TokenPos pos;
union {
Ast *stmt;
struct {