mirror of https://github.com/tbklang/tlang.git
DNodeGenerator
- Removed all code in `generalPass(...)` which tried to set the `root` DNode
This commit is contained in:
parent
02ee5c49da
commit
2229562589
|
@ -1505,13 +1505,12 @@ public class DNodeGenerator
|
|||
/* If this is a Module then it must become the root */
|
||||
if(cast(Module)namedContainer)
|
||||
{
|
||||
root = node;
|
||||
|
||||
}
|
||||
/* NOTE: 1st October: Just for now ignore funciton stuff InitScvope? */
|
||||
else if(cast(Function)namedContainer)
|
||||
{
|
||||
ignoreInitScope=false;
|
||||
root=pool(cast(Module)tc.getResolver().findContainerOfType(Module.classinfo, namedContainer));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue