about summary refs log tree commit diff
path: root/src/comp/syntax/parse
diff options
context:
space:
mode:
authorHaitao Li <lihaitao@gmail.com>2011-11-11 00:41:42 +0800
committerBrian Anderson <banderson@mozilla.com>2011-11-10 19:19:40 -0800
commit5a7249c935d52e79db2301a6cccfd28dff9bf38e (patch)
tree843bb8cadfecccf970a3af56ea87259cc83de4a1 /src/comp/syntax/parse
parent9bc2f1800dcf97aff968478569c52204ec6d3998 (diff)
downloadrust-5a7249c935d52e79db2301a6cccfd28dff9bf38e.tar.gz
rust-5a7249c935d52e79db2301a6cccfd28dff9bf38e.zip
Cleanup unused imports
Diffstat (limited to 'src/comp/syntax/parse')
-rw-r--r--src/comp/syntax/parse/eval.rs2
-rw-r--r--src/comp/syntax/parse/lexer.rs3
-rw-r--r--src/comp/syntax/parse/parser.rs1
-rw-r--r--src/comp/syntax/parse/token.rs4
4 files changed, 3 insertions, 7 deletions
diff --git a/src/comp/syntax/parse/eval.rs b/src/comp/syntax/parse/eval.rs
index e4b60c4c21e..03c65d79e75 100644
--- a/src/comp/syntax/parse/eval.rs
+++ b/src/comp/syntax/parse/eval.rs
@@ -1,5 +1,5 @@
 
-import std::{str, option, result, io, fs};
+import std::{option, result, io, fs};
 import std::option::{some, none};
 import syntax::ast;
 import syntax::parse::token;
diff --git a/src/comp/syntax/parse/lexer.rs b/src/comp/syntax/parse/lexer.rs
index 685b93941b9..df9683f6a93 100644
--- a/src/comp/syntax/parse/lexer.rs
+++ b/src/comp/syntax/parse/lexer.rs
@@ -1,6 +1,5 @@
 
-import std::{io, int, vec, str, map, option};
-import std::map::hashmap;
+import std::{io, vec, str, option};
 import std::option::{some, none};
 import util::interner;
 import util::interner::intern;
diff --git a/src/comp/syntax/parse/parser.rs b/src/comp/syntax/parse/parser.rs
index 214955b14a0..4fa5baa7af4 100644
--- a/src/comp/syntax/parse/parser.rs
+++ b/src/comp/syntax/parse/parser.rs
@@ -4,7 +4,6 @@ import std::option::{some, none};
 import std::either::{left, right};
 import std::map::{hashmap, new_str_hash};
 import token::can_begin_expr;
-import ex = ext::base;
 import codemap::span;
 import util::interner;
 import ast::{node_id, spanned};
diff --git a/src/comp/syntax/parse/token.rs b/src/comp/syntax/parse/token.rs
index c89d99f0baf..ee02e24c7a8 100644
--- a/src/comp/syntax/parse/token.rs
+++ b/src/comp/syntax/parse/token.rs
@@ -1,10 +1,8 @@
 
 import ast::ty_mach;
 import ast_util::ty_mach_to_str;
-import std::map::new_str_hash;
 import util::interner;
-import std::{int, uint, str, option};
-import option::{some, none};
+import std::{int, uint, str};
 
 type str_num = uint;