From 8ba8f0f6f268ede8f16f5b7f6c7b2470c836964c Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 18 May 2015 18:43:57 -0700 Subject: 1400 --- 047jump_label.cc | 10 +++++----- 1 file 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 -- cgit 1.4.1-2-gfad0