hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 8648d2dcc69cf77cee69e1de3716daae7bfd61b5
parent 711e0d14fd65696ed7b5d8422f46222f1ec1f07f
Author: Drew DeVault <sir@cmpwn.com>
Date:   Fri, 12 Mar 2021 13:04:21 -0500

plan: move file names closer to their usage

Diffstat:
Mplan.ha | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/plan.ha b/plan.ha @@ -225,8 +225,6 @@ fn sched_hare_object( }; let ssa = mkfile(plan, "ssa"); - let s = mkfile(plan, "s"); - let harec = alloc(task { status = status::SCHEDULED, output = ssa, @@ -271,6 +269,7 @@ fn sched_hare_object( }; append(plan.scheduled, harec); + let s = mkfile(plan, "s"); let qbe = sched_qbe(plan, s, harec); let hare_obj = sched_as(plan, if (mixed) mkfile(plan, "o") else output,