Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Sync with nqp QRegex (for %!marks).
  • Loading branch information
jnthn committed Feb 27, 2013
1 parent 0d59dca commit 76a5199
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nqp-src/QRegex.nqp
Expand Up @@ -456,6 +456,7 @@ my class ParseShared {
has str $!target;
has int $!highwater;
has @!highexpect;
has %!marks;
}

role NQPCursorRole is export {
Expand Down Expand Up @@ -534,6 +535,7 @@ role NQPCursorRole is export {
$orig);
nqp::bindattr_i($shared, ParseShared, '$!highwater', 0);
nqp::bindattr($shared, ParseShared, '@!highexpect', nqp::list());
nqp::bindattr($shared, ParseShared, '%!marks', nqp::hash());
}
nqp::bindattr($new, $?CLASS, '$!shared', $shared);
if nqp::defined($c) {
Expand Down

0 comments on commit 76a5199

Please sign in to comment.