]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Set lvalue to the inner expression of address-of expression
authorLuca Bruno <lucabru@src.gnome.org>
Thu, 16 Jun 2011 08:05:25 +0000 (10:05 +0200)
committerLuca Bruno <lucabru@src.gnome.org>
Wed, 6 Jul 2011 20:32:27 +0000 (22:32 +0200)
vala/valaaddressofexpression.vala

index 7786cfd2ee4b48f0d53e22485b586b17e6ff3abe..81123eec8b9c2e1ac4d2597af5dd9522c392b6c9 100644 (file)
@@ -79,6 +79,8 @@ public class Vala.AddressofExpression : Expression {
 
                checked = true;
 
+               inner.lvalue = true;
+
                if (!inner.check (context)) {
                        error = true;
                        return false;