Skip to content

Commit

Permalink
[GGE::Perl6Regex] adaptations to Rakudo master
Browse files Browse the repository at this point in the history
- s/continue/proceed/ inside a 'given' block.
  • Loading branch information
Carl Masak committed May 22, 2010
1 parent d8ff454 commit a38e8db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/GGE/Perl6Regex.pm
Expand Up @@ -328,7 +328,7 @@ class GGE::Perl6Regex {
last;
}
when '.' {
continue if $target.substr($pos, 2) ne '..';
proceed if $target.substr($pos, 2) ne '..';
$pos += 2;
++$pos while $target.substr($pos, 1) ~~ /\s/;
$isrange = True;
Expand All @@ -341,7 +341,7 @@ class GGE::Perl6Regex {
when '\\' {
++$pos;
$char = $target.substr($pos, 1);
continue;
proceed;
}
when /\s/ {
++$pos;
Expand Down

0 comments on commit a38e8db

Please sign in to comment.