aboutsummaryrefslogtreecommitdiff
path: root/src/comp/rustc.rc
diff options
context:
space:
mode:
authorMarijn Haverbeke <[email protected]>2011-03-04 07:22:43 +0100
committerGraydon Hoare <[email protected]>2011-03-07 12:58:08 -0800
commit0624f9db4aeaa5681941750c3a1a17ca5fbb7e72 (patch)
tree91844d79c0c5614ce660c3c20f1c67eaef2d5021 /src/comp/rustc.rc
parentConstruct the wrappers to native functions. Hello world now works :-) (diff)
downloadrust-0624f9db4aeaa5681941750c3a1a17ca5fbb7e72.tar.xz
rust-0624f9db4aeaa5681941750c3a1a17ca5fbb7e72.zip
Add a pretty-printer
Adds a -pp option to the compiler which will cause it to simply pretty-print the given file.
Diffstat (limited to 'src/comp/rustc.rc')
-rw-r--r--src/comp/rustc.rc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/comp/rustc.rc b/src/comp/rustc.rc
index 43a04117..e4833409 100644
--- a/src/comp/rustc.rc
+++ b/src/comp/rustc.rc
@@ -31,6 +31,11 @@ mod driver {
mod session;
}
+mod pretty {
+ mod pp;
+ mod pprust;
+}
+
mod util {
mod common;
}