diff options
author | John Hodge <tpg@mutabah.net> | 2015-03-18 21:37:09 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2015-03-18 21:37:09 +0800 |
commit | 7c774049e8a539ee32923dfbf9ad0c0f36ab4323 (patch) | |
tree | 181288bbff011178de807dccb4cb5f5c61bd7952 /src/macros.cpp | |
parent | afd9fe2cc7f43fd036837db10e71b04410fadf9a (diff) | |
download | mrust-7c774049e8a539ee32923dfbf9ad0c0f36ab4323.tar.gz |
Local macros, fixed array literals
Diffstat (limited to 'src/macros.cpp')
-rw-r--r-- | src/macros.cpp | 4 |
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()
{
|