libsyntax: Remove all non-proc do syntax.

This commit is contained in:
Patrick Walton 2013-11-20 16:23:04 -08:00
parent a61a3678eb
commit efc512362b
26 changed files with 178 additions and 192 deletions

View file

@ -169,9 +169,9 @@ pub fn to_str(input: @ident_interner, t: &Token) -> ~str {
/* Literals */
LIT_CHAR(c) => {
let mut res = ~"'";
do char::from_u32(c).unwrap().escape_default |c| {
char::from_u32(c).unwrap().escape_default(|c| {
res.push_char(c);
}
});
res.push_char('\'');
res
}