From 1a90ef4318c18161aaccf7390016a61c635ac748 Mon Sep 17 00:00:00 2001 From: WormHeamer Date: Sun, 3 Aug 2025 19:52:18 -0400 Subject: add assignment statements --- ir.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ir.h') diff --git a/ir.h b/ir.h index dd2e496..9351864 100644 --- a/ir.h +++ b/ir.h @@ -101,5 +101,6 @@ ScopeFrame *scope_push(Scope *scope, Proc *proc); ScopeFrame *scope_pop(Scope *scope, Proc *proc); NameBinding *scope_find(Scope *scope, Str name); NameBinding *scope_bind(Scope *scope, Str name, Node *value, LexSpan pos, Proc *proc); +NameBinding *scope_update(Scope *scope, Str name, Node *to, Proc *proc); #endif -- cgit v1.2.3