[vala/wip/effectfree: 7/12] Set lvalue to the inner expression of address-of expression



commit b7813a96bf330717b70a6a2612f5538c5340cc88
Author: Luca Bruno <lucabru src gnome org>
Date:   Thu Jun 16 10:05:25 2011 +0200

    Set lvalue to the inner expression of address-of expression

 vala/valaaddressofexpression.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/vala/valaaddressofexpression.vala b/vala/valaaddressofexpression.vala
index 7786cfd..81123ee 100644
--- a/vala/valaaddressofexpression.vala
+++ b/vala/valaaddressofexpression.vala
@@ -79,6 +79,8 @@ public class Vala.AddressofExpression : 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]