From df41a4512932f1312e4725d0409757a683b091ed Mon Sep 17 00:00:00 2001 From: lemon Date: Sat, 20 Aug 2022 06:35:05 +0200 Subject: defer fix --- bootstrap/all.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bootstrap/all.h') diff --git a/bootstrap/all.h b/bootstrap/all.h index 64ab9b1..cd51499 100644 --- a/bootstrap/all.h +++ b/bootstrap/all.h @@ -346,6 +346,7 @@ struct blockstmt { struct env env; slice_t(struct stmt) stmts; struct defer *defers; + int id; }; struct expr { @@ -496,7 +497,7 @@ struct stmt { }; struct defer { struct defer *next; - int age; + int blockid, age; struct expr ex; } ; -- cgit v1.2.3