summaryrefslogtreecommitdiff
path: root/src/expand/cfg.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-11-02 20:32:13 +0800
committerJohn Hodge <tpg@mutabah.net>2016-11-02 20:32:13 +0800
commitb71e1546a794843d73d28a7f66bcab50c387d83d (patch)
treef13fe8cc2a537eac0c480523d64ef3737c0fe47c /src/expand/cfg.cpp
parent983ff1c26e15a13e6a1e0e4bb1e964ec496a4777 (diff)
downloadmrust-b71e1546a794843d73d28a7f66bcab50c387d83d.tar.gz
Parse - Refactor TTStream and TokenTree into their own files
Diffstat (limited to 'src/expand/cfg.cpp')
-rw-r--r--src/expand/cfg.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/expand/cfg.cpp b/src/expand/cfg.cpp
index 0a4617cf..00e3921c 100644
--- a/src/expand/cfg.cpp
+++ b/src/expand/cfg.cpp
@@ -1,9 +1,14 @@
/*
+ * MRustC - Rust Compiler
+ * - By John Hodge (Mutabah/thePowersGang)
+ *
+ * expand/cfg.hpp
+ * - cfg! and #[cfg] handling
*/
#include <synext.hpp>
-#include <parse/tokentree.hpp>
-#include <parse/lex.hpp>
#include <parse/common.hpp>
+#include <parse/tokentree.hpp>
+#include <parse/ttstream.hpp>
#include "cfg.hpp"
#include <ast/expr.hpp> // Needed to clear a ExprNodeP
#include <ast/crate.hpp>