Skip to content

Commit

Permalink
pir::find_dynamic_lex__Ps -> nqp::getlexdyn
Browse files Browse the repository at this point in the history
  • Loading branch information
kboga committed Mar 4, 2013
1 parent baf0f5e commit 74b7f2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/Cursor.pm
Expand Up @@ -111,7 +111,7 @@ my class Cursor does NQPCursorRole {
}

method RECURSE() {
pir::find_dynamic_lex__Ps('$?REGEX')(self)
nqp::getlexdyn('$?REGEX')(self)
}

method prior() {
Expand Down
2 changes: 1 addition & 1 deletion src/core/stubs.pm
Expand Up @@ -16,7 +16,7 @@ my class Enum { ... }
my class X::OutOfRange { ... }

sub DYNAMIC(\name) is rw {
my Mu $x := pir::find_dynamic_lex__Ps(nqp::unbox_s(name));
my Mu $x := nqp::getlexdyn(nqp::unbox_s(name));
if nqp::isnull($x) {
my str $pkgname = pir::replace__Ssiis(nqp::unbox_s(name), 1, 1, '');
if nqp::existskey(GLOBAL.WHO, $pkgname) { $x := nqp::atkey(GLOBAL.WHO, $pkgname) }
Expand Down

0 comments on commit 74b7f2a

Please sign in to comment.