Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[v6] fix #OK processing
  • Loading branch information
sorear committed Nov 19, 2010
1 parent 429442c commit 571d549
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions v6/tryfile
Expand Up @@ -89,6 +89,19 @@ augment class Hash {
}

augment class Cursor {
method suppose($rx) {
my $*IN_SUPPOSE = True;
my $*FATALS = 0;
my @*WORRIES;
my %*WORRIES;
my $*HIGHWATER = -1;
my $*HIGHEXPECT = {};
try {
my $ret = first($rx(self));
if ($ret) { return $ret }
};
return ();
}
token alpha {
<+INTERNAL::alpha+[_]> \w*
}
Expand Down

0 comments on commit 571d549

Please sign in to comment.