about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-18 18:43:57 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-18 18:43:57 -0700
commit8ba8f0f6f268ede8f16f5b7f6c7b2470c836964c (patch)
tree6481506afeee80cb9ae1ca5cc04f260951a4edcf
parent6152ef13a865eb1795fd5547f4d307a6f5690558 (diff)
downloadmu-8ba8f0f6f268ede8f16f5b7f6c7b2470c836964c.tar.gz
1400
-rw-r--r--047jump_label.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/047jump_label.cc b/047jump_label.cc
index 4ec31341..73de08dd 100644
--- a/047jump_label.cc
+++ b/047jump_label.cc
@@ -4,7 +4,7 @@
 
 :(scenario jump_to_label)
 recipe main [
-  jump +target:offset
+  jump +target:label
   1:number <- copy 0:literal
   +target
 ]
@@ -63,7 +63,7 @@ recipe main [
 #?   $print [aaa]
   {
     {
-      break +target:offset
+      break +target:label
       1:number <- copy 0:literal
     }
   }
@@ -75,7 +75,7 @@ recipe main [
 recipe main [
   {
     {
-      jump-if 1:literal, +target:offset
+      jump-if 1:literal, +target:label
       1:number <- copy 0:literal
     }
   }
@@ -87,7 +87,7 @@ recipe main [
 recipe main [
   {
     {
-      loop-unless 0:literal, +target:offset  # loop/break with a label don't care about braces
+      loop-unless 0:literal, +target:label  # loop/break with a label don't care about braces
       1:number <- copy 0:literal
     }
   }
@@ -101,7 +101,7 @@ recipe main [
   1:number <- copy 0:literal
   2:number <- copy 0:literal
   3:number <- copy 0:literal
-  jump +target:offset
+  jump +target:label
   4:number <- copy 0:literal
   +target
   5:number <- copy 0:literal