commit b77b22e667eb9c7edf61bfbf55f97530d33d1276
parent 6fe66521a117c2dc1d8979c1f8b8dd917ea97990
Author: Sebastian <sebastian@sebsite.pw>
Date: Sun, 17 Apr 2022 19:58:25 -0400
hare::unit: rename unit_free to unit_finish
Signed-off-by: Sebastian <sebastian@sebsite.pw>
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmd/harec/main.ha b/cmd/harec/main.ha
@@ -91,6 +91,6 @@ export fn main() void = {
case let u: unit::unit =>
yield u;
};
- defer unit::unit_free(unit);
+ defer unit::unit_finish(unit);
gen(out, store, &unit);
};
diff --git a/hare/unit/unit.ha b/hare/unit/unit.ha
@@ -28,7 +28,7 @@ export type unit = struct {
decls: []decl,
};
-export fn unit_free(unit: unit) void = {
+export fn unit_finish(unit: unit) void = {
// TODO
return;
};