Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix a bug in quoting strings.
  • Loading branch information
pmurias committed Jul 27, 2014
1 parent 844054c commit 69527b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/js/QAST/Compiler.nqp
Expand Up @@ -721,7 +721,7 @@ class QAST::CompilerJS does SerializeOnce {
} else {
$out := $out ~ $c;
}
$backslash := $c eq '\\';
$backslash := !$backslash && $c eq '\\';
}
"\""~$out~"\"";
}
Expand Down

0 comments on commit 69527b4

Please sign in to comment.