summaryrefslogtreecommitdiff
path: root/ir.h
diff options
context:
space:
mode:
authorWormHeamer2025-08-03 19:52:18 -0400
committerWormHeamer2025-08-03 19:52:18 -0400
commit1a90ef4318c18161aaccf7390016a61c635ac748 (patch)
tree90b6cd4e2dc1261bc2250972aad71c847be80844 /ir.h
parent62e4b45143e4ff24a1758a2ccd3af5dfe69706ec (diff)
add assignment statements
Diffstat (limited to 'ir.h')
-rw-r--r--ir.h1
1 files changed, 1 insertions, 0 deletions
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