diff options
author | John Hodge <tpg@mutabah.net> | 2014-12-14 13:43:41 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2014-12-14 13:43:41 +0800 |
commit | e1a51554c956ccde6a59952a8b9a557df904cf71 (patch) | |
tree | 056bd625ab0b6400f618a20e97ec250d910a8959 /ast/ast.cpp | |
parent | 5d29fdaa42c638e9420bd3111fb15f3594342354 (diff) | |
download | mrust-e1a51554c956ccde6a59952a8b9a557df904cf71.tar.gz |
Compiles again
Diffstat (limited to 'ast/ast.cpp')
-rw-r--r-- | ast/ast.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ast/ast.cpp b/ast/ast.cpp index 575d3c60..a39bc0d4 100644 --- a/ast/ast.cpp +++ b/ast/ast.cpp @@ -51,11 +51,14 @@ void Impl::add_function(bool is_public, Function fcn) {
}
+void Crate::iterate_functions(Crate::fcn_visitor_t* visitor)
+{
+}
+
void Module::add_constant(bool is_public, ::std::string name, TypeRef type, Expr val)
{
::std::cout << "add_constant()" << ::std::endl;
}
-
void Module::add_global(bool is_public, bool is_mut, ::std::string name, TypeRef type, Expr val)
{
::std::cout << "add_global()" << ::std::endl;
|