summaryrefslogtreecommitdiff
path: root/src/expand/mod.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/expand/mod.cpp')
-rw-r--r--src/expand/mod.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/expand/mod.cpp b/src/expand/mod.cpp
index 485c0032..fff44df3 100644
--- a/src/expand/mod.cpp
+++ b/src/expand/mod.cpp
@@ -916,6 +916,9 @@ void Expand_Mod_IndexAnon(::AST::Crate& crate, ::AST::Module& mod)
DEBUG("- " << mp->path() << " dropped due to node destruction");
mp.reset();
}
+ else {
+ Expand_Mod_IndexAnon(crate, *mp);
+ }
}
}
void Expand(::AST::Crate& crate)