[vala] Mark the inner expression of postfix expression to be lvalue



commit efacefd4b4e1b6224044e5014c02115e0834bf36
Author: Luca Bruno <lucabru src gnome org>
Date:   Mon May 2 15:25:39 2011 +0200

    Mark the inner expression of postfix expression to be lvalue

 vala/valapostfixexpression.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/vala/valapostfixexpression.vala b/vala/valapostfixexpression.vala
index 065381a..9d9b684 100644
--- a/vala/valapostfixexpression.vala
+++ b/vala/valapostfixexpression.vala
@@ -71,6 +71,7 @@ public class Vala.PostfixExpression : Expression {
 
 		checked = true;
 
+		inner.lvalue = true;
 		if (!inner.check (context)) {
 			error = true;
 			return false;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]