Fixed: importing didn't increment context locals
This commit is contained in:
parent
c0e747d2bd
commit
f2d46235ee
1 changed files with 2 additions and 0 deletions
|
@ -78,9 +78,11 @@ namespace arookas {
|
|||
if (result == sunImportResult.Loaded) {
|
||||
try {
|
||||
ImportResolver.EnterFile(file);
|
||||
mContext.PushLocal();
|
||||
var parser = new sunParser();
|
||||
var tree = parser.Parse(file);
|
||||
tree.Compile(this);
|
||||
mContext.PopLocal();
|
||||
ImportResolver.ExitFile(file);
|
||||
}
|
||||
finally {
|
||||
|
|
Loading…
Reference in a new issue