Permalink
Browse files

Replaced pir::index by nqp::index

  • Loading branch information...
kboga committed May 30, 2012
1 parent cbc73a0 commit 7f14ae658cd4da1de773dcf7624e98bf230dbd7e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/Str.pm
View
@@ -394,7 +394,7 @@ my class Str does Stringy {
}
}
elsif nqp::iseq_i($ch, 48) # '0'
- and $radix = pir::index(' b o d x',
+ and $radix = nqp::index(' b o d x',
nqp::substr($str, nqp::add_i($pos, 1), 1))
and nqp::isge_i($radix, 2) {
# A string starting with 0x, 0d, 0o, or 0b,

0 comments on commit 7f14ae6

Please sign in to comment.