Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
strip a call to eval (leftover from assimilating JSON::Pretty)
  • Loading branch information
FROGGS committed Jun 3, 2014
1 parent 17f0230 commit 68060fe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/JSON/Pretty.pm
Expand Up @@ -39,8 +39,7 @@ my class JSONPrettyActions {

method str_escape($/) {
if $<xdigit> {
# make chr(:16($<xdigit>.join)); # preferred version of next line, but it doesn't work on Niecza yet
make chr(eval "0x" ~ $<xdigit>.join);
make chr(:16($<xdigit>.join));
} else {
my %h = '\\' => "\\",
'/' => "/",
Expand Down

0 comments on commit 68060fe

Please sign in to comment.