Update the compiler to not use printf/printfln
This commit is contained in:
parent
09a5338197
commit
409182de6d
80 changed files with 169 additions and 173 deletions
|
|
@ -66,7 +66,7 @@ fn generic_extension(cx: @ExtCtxt,
|
|||
rhses: &[@named_match])
|
||||
-> MacResult {
|
||||
if cx.trace_macros() {
|
||||
printfln!("%s! { %s }",
|
||||
println!("{}! \\{ {} \\}",
|
||||
cx.str_of(name),
|
||||
print::pprust::tt_to_str(
|
||||
&ast::tt_delim(@mut arg.to_owned()),
|
||||
|
|
@ -194,7 +194,7 @@ pub fn add_new_extension(cx: @ExtCtxt,
|
|||
rhses: &[@named_match])
|
||||
-> MacResult {
|
||||
if cx.trace_macros() {
|
||||
printfln!("%s! { %s }",
|
||||
println!("{}! \\{ {} \\}",
|
||||
cx.str_of(name),
|
||||
print::pprust::tt_to_str(
|
||||
&ast::tt_delim(@mut arg.to_owned()),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue