[vala/wip/effectfree: 7/9] Set lvalue to the inner expression of addressof expression
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/wip/effectfree: 7/9] Set lvalue to the inner expression of addressof expression
- Date: Thu, 16 Jun 2011 08:24:24 +0000 (UTC)
commit 4d94ed45fcd8404bc07e1fe1536a8b58d45fc399
Author: Luca Bruno <lucabru src gnome org>
Date: Thu Jun 16 10:05:25 2011 +0200
Set lvalue to the inner expression of addressof 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]