From 0125a0b55243ed425e7bb7af7596209e90cc5b2a Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Quelin?= Date: Mon, 3 Nov 2008 19:50:58 +0100 Subject: [PATCH] use the correct move_ip method in flow_jump_to --- lib/Language/Befunge/Ops.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Language/Befunge/Ops.pm b/lib/Language/Befunge/Ops.pm index 85e56da..d36a29c 100644 --- a/lib/Language/Befunge/Ops.pm +++ b/lib/Language/Befunge/Ops.pm @@ -524,7 +524,7 @@ sub flow_jump_to { $lbi->debug( "skipping $count instructions\n" ); $count == 0 and return; $count < 0 and $ip->dir_reverse; # We can move backward. - $lbi->move_ip($lbi->get_curip) for (1..abs($count)); + $lbi->_move_ip_once($lbi->get_curip) for (1..abs($count)); $count < 0 and $ip->dir_reverse; } -- 2.11.4.GIT