about summary refs log tree commit diff
path: root/src/rustc/driver/driver.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/rustc/driver/driver.rs')
-rw-r--r--src/rustc/driver/driver.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rustc/driver/driver.rs b/src/rustc/driver/driver.rs
index 178ea996ace..3b8889d672e 100644
--- a/src/rustc/driver/driver.rs
+++ b/src/rustc/driver/driver.rs
@@ -1,7 +1,7 @@
 // -*- rust -*-
 import metadata::{creader, cstore};
 import session::session;
-import syntax::parse::{parser};
+import syntax::parse;
 import syntax::{ast, codemap};
 import syntax::attr;
 import middle::{trans, resolve, freevars, kind, ty, typeck, fn_usage,
@@ -76,10 +76,10 @@ fn input_is_stdin(filename: str) -> bool { filename == "-" }
 fn parse_input(sess: session, cfg: ast::crate_cfg, input: str)
     -> @ast::crate {
     if !input_is_stdin(input) {
-        parser::parse_crate_from_file(input, cfg, sess.parse_sess)
+        parse::parse_crate_from_file(input, cfg, sess.parse_sess)
     } else {
         let src = @str::from_bytes(io::stdin().read_whole_stream());
-        parser::parse_crate_from_source_str(input, src, cfg, sess.parse_sess)
+        parse::parse_crate_from_source_str(input, src, cfg, sess.parse_sess)
     }
 }