summaryrefslogtreecommitdiff
path: root/src/macros.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2015-03-18 21:37:09 +0800
committerJohn Hodge <tpg@mutabah.net>2015-03-18 21:37:09 +0800
commit7c774049e8a539ee32923dfbf9ad0c0f36ab4323 (patch)
tree181288bbff011178de807dccb4cb5f5c61bd7952 /src/macros.cpp
parentafd9fe2cc7f43fd036837db10e71b04410fadf9a (diff)
downloadmrust-7c774049e8a539ee32923dfbf9ad0c0f36ab4323.tar.gz
Local macros, fixed array literals
Diffstat (limited to 'src/macros.cpp')
-rw-r--r--src/macros.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/macros.cpp b/src/macros.cpp
index 45175620..841758f1 100644
--- a/src/macros.cpp
+++ b/src/macros.cpp
@@ -112,6 +112,10 @@ void Macro_SetModule(const LList<AST::Module*>& mod)
{
g_macro_module = &mod;
}
+const LList<AST::Module*>* Macro_GetModule()
+{
+ return g_macro_module;
+}
void Macro_InitDefaults()
{