[vala/0.10-parallel: 26/32] Work around code writer issues with address of expressions
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.10-parallel: 26/32] Work around code writer issues with address of expressions
- Date: Fri, 17 Sep 2010 23:03:10 +0000 (UTC)
commit 44648cfaa2db7db7ac964bebe8fe3f38ea2e10ab
Author: Jürg Billeter <j bitron ch>
Date: Fri Sep 10 17:40:03 2010 +0200
Work around code writer issues with address of expressions
vala/valaaddressofexpression.vala | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/vala/valaaddressofexpression.vala b/vala/valaaddressofexpression.vala
index c6804d6..f57fb00 100644
--- a/vala/valaaddressofexpression.vala
+++ b/vala/valaaddressofexpression.vala
@@ -53,7 +53,9 @@ public class Vala.AddressofExpression : Expression {
}
public override void accept (CodeVisitor visitor) {
- inner.accept (visitor);
+ if (!(visitor is CodeWriter)) {
+ inner.accept (visitor);
+ }
visitor.visit_addressof_expression (this);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]