Permalink
Browse files

Workaround some mysterious bug. Makes all tests pass, leaving but one…

… warning in runtime.t
  • Loading branch information...
1 parent fe672a7 commit a0fb1fbb795d6365189a51cd4c929978af13fa22 @tadzik tadzik committed Aug 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Yapsi.pm
View
@@ -776,7 +776,7 @@ class Yapsi::Runtime {
reg[+$0] = reg[+$0] eq 'Any()' ?? 1 !! reg[+$0] - 1;
}
when / ^ 'jf $'(\d+)', '(\S+) $ / {
- if reg[+$0] == 0 {
+ if reg[+$0] eq 'Any()' or reg[+$0] == 0 {
$ip = find-label(@sic, ~$1);
}
self.?tick;

0 comments on commit a0fb1fb

Please sign in to comment.