Mercurial > projects > ddmd
diff dmd/Scope.d @ 79:43073c7c7769
updated to 2.035
also implemented a few missing functions
still crashes in Import.importAll though
author | Trass3r |
---|---|
date | Mon, 30 Aug 2010 03:57:51 +0200 |
parents | 460959608115 |
children | e95073e26356 |
line wrap: on
line diff
--- a/dmd/Scope.d Sun Aug 29 14:39:08 2010 +0100 +++ b/dmd/Scope.d Mon Aug 30 03:57:51 2010 +0200 @@ -130,6 +130,8 @@ this.module_ = enclosing.module_; this.func = enclosing.func; this.parent = enclosing.parent; + this.scopesym = null; + this.sd = null; this.sw = enclosing.sw; this.tf = enclosing.tf; this.tinst = enclosing.tinst; @@ -299,7 +301,7 @@ if (!sc.scopesym.symtab) sc.scopesym.symtab = new DsymbolTable(); - return sc.scopesym.symtab.insert(s); + return sc.scopesym.symtabInsert(s); } }