Mercurial > projects > ldc
diff dmd/expression.c @ 163:a8cd9bc1021a trunk
[svn r179] lots and lots of fixes, much more of tango now compiles/works.
author | lindquist |
---|---|
date | Mon, 05 May 2008 07:36:29 +0200 |
parents | 5acec6b2eef8 |
children | 297690b5d4a5 |
line wrap: on
line diff
--- a/dmd/expression.c Mon May 05 00:56:53 2008 +0200 +++ b/dmd/expression.c Mon May 05 07:36:29 2008 +0200 @@ -3528,6 +3528,10 @@ #endif } + // LLVMDC: Fixes bug 1161, http://d.puremagic.com/issues/show_bug.cgi?id=1161 + // check access to VarDeclaration + accessCheck(loc, sc, NULL, var); + VarDeclaration *v = var->isVarDeclaration(); if (v) {