about summary refs log tree commit diff stats
path: root/047jump_label.cc
diff options
context:
space:
mode:
Diffstat (limited to '047jump_label.cc')
-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