diff options
| author | Marijn Haverbeke <[email protected]> | 2011-03-10 16:02:53 +0100 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-03-14 14:57:13 -0700 |
| commit | 441697ab359ae2a17c531e5b8e26f66ffcf72992 (patch) | |
| tree | b094368c6bedb50bf52acb2e4fe775e47aef7741 /src/comp/driver/rustc.rs | |
| parent | Add basic file-system functionality (diff) | |
| download | rust-441697ab359ae2a17c531e5b8e26f66ffcf72992.tar.xz rust-441697ab359ae2a17c531e5b8e26f66ffcf72992.zip | |
Extend stream functionality
Writer and reader streams now come with methods to write and read
little-endian numbers. Whether that is the right place for such
methods is debatable, but for now, that's where they live.
Diffstat (limited to 'src/comp/driver/rustc.rs')
| -rw-r--r-- | src/comp/driver/rustc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/driver/rustc.rs b/src/comp/driver/rustc.rs index 00d41fff..ed61b340 100644 --- a/src/comp/driver/rustc.rs +++ b/src/comp/driver/rustc.rs @@ -68,7 +68,7 @@ impure fn pretty_print_input(session.session sess, auto def = tup(0, 0); auto p = front.parser.new_parser(sess, env, def, input); auto crate = front.parser.parse_crate_from_source_file(p); - pretty.pprust.print_ast(crate.node.module, std.io.stdout_writer()); + pretty.pprust.print_ast(crate.node.module, std.io.stdout()); } fn warn_wrong_compiler() { |