commit | 36f2c69d991fb92330b59536aa00c14e25d296d0 | [log] [tgz] |
---|---|---|
author | swissChili <swisschili@fastmail.com> | Sun Aug 08 14:31:44 2021 -0700 |
committer | swissChili <swisschili@fastmail.com> | Sun Aug 08 14:31:44 2021 -0700 |
tree | 680e01414a18fa4e7417b2eb71bc95d41eaba3f9 | |
parent | 4691cf6c7820af91ef4d6d697e4214ce4b33df8e [diff] [blame] |
Fix bug in error handling where __sub would be clobbered.
diff --git a/src/lisp/compiler.h b/src/lisp/compiler.h index 67c03e6..75abe33 100644 --- a/src/lisp/compiler.h +++ b/src/lisp/compiler.h
@@ -166,7 +166,7 @@ /** * Walk `body` and reserve space in `local` for any variable declarations. */ -void walk_and_alloc(struct local *local, value_t body); +struct error walk_and_alloc(struct environment *env, struct local *local, value_t *body); /** * Compile a top level definition