rustc: Support 'companion mod's for crates and directory mods

Under this scheme when parsing foo.rc the parser will also look for
foo.rs to fill in the crate-level module, and when evaluating a
directory module directive it will look for a .rs file with the
same name as the directory.
This commit is contained in:
Brian Anderson 2011-10-29 01:21:43 -07:00
parent 2cebef095e
commit e0f44730e8
11 changed files with 88 additions and 14 deletions

View file

@ -1,6 +1,5 @@
use std;
mod compiletest;
mod procsrv;
mod util;
mod header;