summaryrefslogtreecommitdiff
path: root/src/parse
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-03-07 11:09:38 +0800
committerJohn Hodge <tpg@mutabah.net>2016-03-07 11:09:38 +0800
commit30edd863f98df929326f2706c9a2ed32730a225b (patch)
tree300ada6a6d231ecff9b002b0a09d4866f273cd20 /src/parse
parent150a481100bba025bc5132338ae3d37f19de5bfc (diff)
downloadmrust-30edd863f98df929326f2706c9a2ed32730a225b.tar.gz
Expand - Start on macro_rules expanding
Diffstat (limited to 'src/parse')
-rw-r--r--src/parse/common.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parse/common.hpp b/src/parse/common.hpp
index def67ef4..4b6ceb54 100644
--- a/src/parse/common.hpp
+++ b/src/parse/common.hpp
@@ -52,6 +52,7 @@ extern MacroRules Parse_MacroRules(TokenStream& lex);
extern void Parse_ExternCrate(TokenStream& lex, AST::Module& mod, AST::MetaItems meta_items);
extern void Parse_Mod_Item(TokenStream& lex, LList<AST::Module*>& modstack, bool file_controls_dir, const ::std::string& file_path, AST::Module& mod, bool is_public, AST::MetaItems meta_items);
+extern void Parse_ModRoot_Items(TokenStream& lex, AST::Module& mod, LList<AST::Module*>& modstack, bool file_controls_dir, const ::std::string& path);
extern AST::Function Parse_FunctionDef(TokenStream& lex, ::std::string abi, AST::MetaItems attrs, bool allow_self, bool can_be_prototype);