Remove even more of std::io

Big fish fried here:

    extra::json
    most of the compiler
    extra::io_util removed
    extra::fileinput removed

Fish left to fry

    extra::ebml
This commit is contained in:
Alex Crichton
2013-10-13 18:48:47 -07:00
parent 4eb5336054
commit 61ed2cfb55
76 changed files with 917 additions and 2029 deletions

View File

@@ -15,15 +15,13 @@ use ext::base;
use print;
use parse::token::{get_ident_interner};
use std::io;
pub fn expand_syntax_ext(cx: @ExtCtxt,
sp: codemap::Span,
tt: &[ast::token_tree])
-> base::MacResult {
cx.print_backtrace();
io::stdout().write_line(
println(
print::pprust::tt_to_str(
&ast::tt_delim(@mut tt.to_owned()),
get_ident_interner()));