From 6385450ddba34bc28bd7492d126fd38cb3f86f36 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 12 Aug 2024 19:01:21 +0300 Subject: make id scope point to defining scope + Allows defers to refer to the correct scope, but might be a bit surprising since effectively all other nodes use the scope to refer to the containing scope rather than the defining scope. --- include/ek/ast.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') diff --git a/include/ek/ast.h b/include/ek/ast.h index 642b561..3d839ad 100644 --- a/include/ek/ast.h +++ b/include/ek/ast.h @@ -237,8 +237,6 @@ struct ast { enum ast_flags f; struct ast *n; - long long uses; - struct src_loc loc; struct scope *scope; }; -- cgit v1.3