diff options
Diffstat (limited to 'src/comp/syntax/parse')
| -rw-r--r-- | src/comp/syntax/parse/eval.rs | 2 | ||||
| -rw-r--r-- | src/comp/syntax/parse/lexer.rs | 3 | ||||
| -rw-r--r-- | src/comp/syntax/parse/parser.rs | 2 | ||||
| -rw-r--r-- | src/comp/syntax/parse/token.rs | 1 |
4 files changed, 0 insertions, 8 deletions
diff --git a/src/comp/syntax/parse/eval.rs b/src/comp/syntax/parse/eval.rs index 74d2259c51e..06f26905550 100644 --- a/src/comp/syntax/parse/eval.rs +++ b/src/comp/syntax/parse/eval.rs @@ -1,8 +1,6 @@ import front::attr; -import core::{option, result}; import std::{io, fs}; -import option::{some, none}; import syntax::ast; import syntax::parse::token; import syntax::parse::parser::{parser, new_parser_from_file, diff --git a/src/comp/syntax/parse/lexer.rs b/src/comp/syntax/parse/lexer.rs index 143b4eba487..053a828f07a 100644 --- a/src/comp/syntax/parse/lexer.rs +++ b/src/comp/syntax/parse/lexer.rs @@ -1,11 +1,8 @@ -import core::{vec, str, option, either}; import std::io; import io::reader_util; -import option::{some, none}; import util::interner; import util::interner::intern; -import codemap; import driver::diagnostic; type reader = @{ diff --git a/src/comp/syntax/parse/parser.rs b/src/comp/syntax/parse/parser.rs index a988557b84d..8ef68ca6388 100644 --- a/src/comp/syntax/parse/parser.rs +++ b/src/comp/syntax/parse/parser.rs @@ -1,6 +1,4 @@ -import core::{vec, str, option, either, result}; import std::{io, fs}; -import option::{some, none}; import either::{left, right}; import std::map::{hashmap, new_str_hash}; import token::can_begin_expr; diff --git a/src/comp/syntax/parse/token.rs b/src/comp/syntax/parse/token.rs index d71ec1c2831..14f7c055743 100644 --- a/src/comp/syntax/parse/token.rs +++ b/src/comp/syntax/parse/token.rs @@ -1,6 +1,5 @@ import util::interner; -import core::{int, uint, str}; import lexer::reader; type str_num = uint; |
