aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-08-12 10:27:50 -0700
committerGraydon Hoare <[email protected]>2010-08-12 10:27:50 -0700
commit5297582ba2e639368fe2ac65036408441cf8a25c (patch)
tree8dea755b87b5c74b2c6c2de020dcf142e9f66dbe
parentAdded support for task sleeping in the scheduler. (diff)
downloadrust-5297582ba2e639368fe2ac65036408441cf8a25c.tar.xz
rust-5297582ba2e639368fe2ac65036408441cf8a25c.zip
Add mostly-empty AST module to rustc.
-rw-r--r--src/comp/fe/ast.rs12
-rw-r--r--src/comp/rustc.rc1
2 files changed, 13 insertions, 0 deletions
diff --git a/src/comp/fe/ast.rs b/src/comp/fe/ast.rs
new file mode 100644
index 00000000..8aea570d
--- /dev/null
+++ b/src/comp/fe/ast.rs
@@ -0,0 +1,12 @@
+type crate = rec( str filename );
+
+//
+// Local Variables:
+// mode: rust
+// fill-column: 78;
+// indent-tabs-mode: nil
+// c-basic-offset: 4
+// buffer-file-coding-system: utf-8-unix
+// compile-command: "make -k -C ../.. 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
+// End:
+//
diff --git a/src/comp/rustc.rc b/src/comp/rustc.rc
index 7b1f9236..87dbc6b4 100644
--- a/src/comp/rustc.rc
+++ b/src/comp/rustc.rc
@@ -4,6 +4,7 @@
use std;
mod fe {
+ mod ast;
mod lexer;
mod parser;
}