aboutsummaryrefslogtreecommitdiff
path: root/src/comp/pretty
diff options
context:
space:
mode:
authorMarijn Haverbeke <[email protected]>2011-03-24 16:07:43 +0100
committerGraydon Hoare <[email protected]>2011-03-25 08:23:00 -0700
commitd4c3059e1ef6dfe0796cb9badd0773ab21d96c42 (patch)
tree9b243aeff79918f2f7d0a32773688a59e6f6307d /src/comp/pretty
parentStart making the standard-lib utf-8 aware (diff)
downloadrust-d4c3059e1ef6dfe0796cb9badd0773ab21d96c42.tar.xz
rust-d4c3059e1ef6dfe0796cb9badd0773ab21d96c42.zip
make lexer unicode-aware for strings and char literals
Diffstat (limited to 'src/comp/pretty')
-rw-r--r--src/comp/pretty/pprust.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/comp/pretty/pprust.rs b/src/comp/pretty/pprust.rs
index 0e30ced1..25eb60ed 100644
--- a/src/comp/pretty/pprust.rs
+++ b/src/comp/pretty/pprust.rs
@@ -718,7 +718,6 @@ impure fn print_maybe_parens(ps s, @ast.expr expr, int outer_prec) {
if (add_them) {pclose(s);}
}
-// TODO non-ascii
fn escape_str(str st, char to_escape) -> str {
let str out = "";
auto len = _str.byte_len(st);