Populate tree.
This commit is contained in:
parent
c01efc669f
commit
d6b7c96c3e
248 changed files with 52689 additions and 182 deletions
12
src/comp/driver/rustc.rs
Normal file
12
src/comp/driver/rustc.rs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
// -*- rust -*-
|
||||
|
||||
fn main(vec[str] args) -> () {
|
||||
let int i = 0;
|
||||
for (str filename in args) {
|
||||
if (i > 0) {
|
||||
auto br = std._io.mk_buf_reader(filename);
|
||||
log "opened file: " + filename;
|
||||
}
|
||||
i += 1;
|
||||
}
|
||||
}
|
||||
0
src/comp/fe/lexer.rs
Normal file
0
src/comp/fe/lexer.rs
Normal file
0
src/comp/fe/parser.rs
Normal file
0
src/comp/fe/parser.rs
Normal file
20
src/comp/rustc.rc
Normal file
20
src/comp/rustc.rc
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
|
||||
// -*- rust -*-
|
||||
|
||||
use std;
|
||||
|
||||
mod fe {
|
||||
mod lexer;
|
||||
mod parser;
|
||||
}
|
||||
|
||||
mod driver {
|
||||
mod rustc;
|
||||
}
|
||||
|
||||
// Local Variables:
|
||||
// fill-column: 78;
|
||||
// indent-tabs-mode: nil
|
||||
// buffer-file-coding-system: utf-8-unix
|
||||
// compile-command: "make -k -C .. 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
|
||||
// End:
|
||||
Loading…
Add table
Add a link
Reference in a new issue