summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2015-03-26 21:35:12 +0800
committerJohn Hodge <tpg@mutabah.net>2015-03-26 21:35:12 +0800
commitc27addebd43d2b1df6dbfed16219336cb7a6867f (patch)
tree79b9ba1d4fad04b18ff34ac92f5eb9d31a1efebf /src/main.cpp
parent9b0293091f4da82d37a5b13c2b4110c09190a451 (diff)
downloadmrust-c27addebd43d2b1df6dbfed16219336cb7a6867f.tar.gz
Comment headers and readme update
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp8
1 files changed, 6 insertions, 2 deletions
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 <iostream>
#include <string>
@@ -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";