about summary refs log tree commit diff stats
path: root/024jump.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-09-17 00:43:13 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-09-17 00:43:20 -0700
commit192d59d3bb9ee0baa1afd82cb5d0f352bdc6e403 (patch)
tree56ade9284cbd296ade90601a3a047c5cbdf3428c /024jump.cc
parent08f4628e8b858120fe3547d8e5431d9abfe46bf8 (diff)
downloadmu-192d59d3bb9ee0baa1afd82cb5d0f352bdc6e403.tar.gz
3380
One more place we were missing expanding type abbreviations: inside
container definitions.
Diffstat (limited to '024jump.cc')
-rw-r--r--024jump.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/024jump.cc b/024jump.cc
index 57c4d3bb..8b33a083 100644
--- a/024jump.cc
+++ b/024jump.cc
@@ -3,7 +3,7 @@
 :(scenario jump_can_skip_instructions)
 def main [
   jump 1:offset
-  1:number <- copy 1
+  1:num <- copy 1
 ]
 +run: jump {1: "offset"}
 -run: {1: "number"} <- copy {1: "literal"}
@@ -84,7 +84,7 @@ case JUMP_IF: {
 :(scenario jump_if)
 def main [
   jump-if 999, 1:offset
-  123:number <- copy 1
+  123:num <- copy 1
 ]
 +run: jump-if {999: "literal"}, {1: "offset"}
 +run: jumping to instruction 2
@@ -94,7 +94,7 @@ def main [
 :(scenario jump_if_fallthrough)
 def main [
   jump-if 0, 1:offset
-  123:number <- copy 1
+  123:num <- copy 1
 ]
 +run: jump-if {0: "literal"}, {1: "offset"}
 +run: jump-if fell through
@@ -137,7 +137,7 @@ case JUMP_UNLESS: {
 :(scenario jump_unless)
 def main [
   jump-unless 0, 1:offset
-  123:number <- copy 1
+  123:num <- copy 1
 ]
 +run: jump-unless {0: "literal"}, {1: "offset"}
 +run: jumping to instruction 2
@@ -147,7 +147,7 @@ def main [
 :(scenario jump_unless_fallthrough)
 def main [
   jump-unless 999, 1:offset
-  123:number <- copy 1
+  123:num <- copy 1
 ]
 +run: jump-unless {999: "literal"}, {1: "offset"}
 +run: jump-unless fell through