From f5fb01bf69e845c2ffb8a28cd9b1c7345a589a08 Mon Sep 17 00:00:00 2001 From: Simon Forman Date: Thu, 2 May 2019 12:41:23 -0700 Subject: [PATCH] linker//1 works on ASM not IR. (rename variable) --- thun/compiler.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thun/compiler.pl b/thun/compiler.pl index 482a9e9..dbff6bc 100644 --- a/thun/compiler.pl +++ b/thun/compiler.pl @@ -348,7 +348,7 @@ Linker */ -linker(IntermediateRepresentation) --> enumerate_asm(IntermediateRepresentation, 0, _). +linker(ASM) --> enumerate_asm(ASM, 0, _). enumerate_asm( [], N, N) --> !, []. enumerate_asm( [Term|Terms], N, M) --> !, enumerate_asm(Term, N, O), enumerate_asm(Terms, O, M).