From c27addebd43d2b1df6dbfed16219336cb7a6867f Mon Sep 17 00:00:00 2001 From: John Hodge Date: Thu, 26 Mar 2015 21:35:12 +0800 Subject: Comment headers and readme update --- src/main.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index f7748b14..85224156 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,4 +1,9 @@ /* + * MRustC - Rust Compiler + * - By John Hodge (Mutabah/thePowersGang) + * + * main.cpp + * - Compiler Entrypoint */ #include #include @@ -28,6 +33,7 @@ int main(int argc, char *argv[]) { AST_InitProvidedModule(); + // Hacky command-line parsing const char *infile = NULL; ::std::string outfile; const char *crate_path = "."; @@ -88,8 +94,6 @@ int main(int argc, char *argv[]) outfile += ".o"; } - //Serialiser_TextTree s_tt(::std::cout); - //Serialiser& s = s_tt; try { g_cur_phase = "Parse"; -- cgit v1.2.3