rustc: Move lexer and token to rustsyntax

This commit is contained in:
Brian Anderson 2012-03-22 17:49:30 -07:00
parent ce216a5533
commit 15947f8b19
5 changed files with 12 additions and 3 deletions

View File

@ -1,7 +1,7 @@
import io::reader_util; import io::reader_util;
import util::interner; import util::interner;
import util::interner::intern; import util::interner::intern;
import driver::diagnostic; import diagnostic;
type reader = @{ type reader = @{
cm: codemap::codemap, cm: codemap::codemap,

View File

@ -14,4 +14,8 @@ mod visit;
mod fold; mod fold;
mod util { mod util {
mod interner; mod interner;
}
mod parse {
mod token;
mod lexer;
} }

View File

@ -71,9 +71,7 @@ mod middle {
mod syntax { mod syntax {
mod parse { mod parse {
mod lexer;
mod parser; mod parser;
mod token;
mod eval; mod eval;
} }
mod ext { mod ext {

View File

@ -0,0 +1,7 @@
import rustsyntax::parse::token;
export token;
import rustsyntax::parse::lexer;
export lexer;
export parser;