]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Mark the inner expression of postfix expression to be lvalue
authorLuca Bruno <lucabru@src.gnome.org>
Mon, 2 May 2011 13:25:39 +0000 (15:25 +0200)
committerLuca Bruno <lucabru@src.gnome.org>
Mon, 2 May 2011 13:25:39 +0000 (15:25 +0200)
vala/valapostfixexpression.vala

index 065381ae096c83178d98a00f9ad58a11d0169d55..9d9b68415cbfca68f0a2946afdc67a5ee2880c72 100644 (file)
@@ -71,6 +71,7 @@ public class Vala.PostfixExpression : Expression {
 
                checked = true;
 
+               inner.lvalue = true;
                if (!inner.check (context)) {
                        error = true;
                        return false;