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



commit e55748e4cf4424e766bbfb2908852828f95b118a
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]