[vala/wip/effectfree: 7/12] Set lvalue to the inner expression of address-of expression
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/wip/effectfree: 7/12] Set lvalue to the inner expression of address-of expression
- Date: Thu, 16 Jun 2011 11:03:20 +0000 (UTC)
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]