Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
remove pir::escape call
  • Loading branch information
moritz committed Feb 17, 2013
1 parent 90f5160 commit 8740c50
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions docs/pir2nqp.todo
Expand Up @@ -38,10 +38,6 @@ pir::push_dispatchee__0PP
pir::getinterp__P
pir::getattribute__PPs

to become nqp::escape
pir::escape__SS
pir::escape__Ss

to become nqp::load
pir::load_bytecode

Expand Down
2 changes: 1 addition & 1 deletion src/QAST/PIRT.nqp
Expand Up @@ -120,7 +120,7 @@ class PIRT::Sub is PIRT::Node {
has str $!cached_pir;
method escape($str) {
my $esc := pir::escape__Ss($str);
my $esc := nqp::escape($str);
nqp::index($esc, '\x', 0) >= 0 ??
'utf8:"' ~ $esc ~ '"' !!
(nqp::index($esc, '\u', 0) >= 0 ??
Expand Down

0 comments on commit 8740c50

Please sign in to comment.