linker//1 works on ASM not IR. (rename variable)

This commit is contained in:
Simon Forman 2019-05-02 12:41:23 -07:00
parent 12fadfb573
commit f5fb01bf69
1 changed files with 1 additions and 1 deletions

View File

@ -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).