# HG changeset patch # User Michael Pavone # Date 1406347582 25200 # Node ID 4bc308c039523c16d15f3661ebe3be5ac8d960da # Parent ce68c8a607eea82011ebdfbce62aa63dff8925fa Fix argument passing to main diff -r ce68c8a607ee -r 4bc308c03952 code/lmc.tp --- a/code/lmc.tp Fri Jul 25 21:04:14 2014 -0700 +++ b/code/lmc.tp Fri Jul 25 21:06:22 2014 -0700 @@ -340,7 +340,7 @@ i <- 0 while: { i < mainArgs } do: { prog add: (inst: "LD" #[ - 0 + 1 i ]) i <- i + 1