libsyntax: Remove all non-proc
do
syntax.
This commit is contained in:
parent
a61a3678eb
commit
efc512362b
26 changed files with 178 additions and 192 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue