Skip to content

Commit 5297582

Browse files
committed
Add mostly-empty AST module to rustc.
1 parent 988695a commit 5297582

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

src/comp/fe/ast.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
type crate = rec( str filename );
2+
3+
//
4+
// Local Variables:
5+
// mode: rust
6+
// fill-column: 78;
7+
// indent-tabs-mode: nil
8+
// c-basic-offset: 4
9+
// buffer-file-coding-system: utf-8-unix
10+
// compile-command: "make -k -C ../.. 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
11+
// End:
12+
//

src/comp/rustc.rc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
use std;
55

66
mod fe {
7+
mod ast;
78
mod lexer;
89
mod parser;
910
}

0 commit comments

Comments
 (0)