[vala/wip/transform: 89/102] Accept method call children
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/wip/transform: 89/102] Accept method call children
- Date: Tue, 23 Oct 2018 20:49:30 +0000 (UTC)
commit 767ea1e74a9e1645c6dccda3c4e66affed9dd8db
Author: Luca Bruno <luca bruno immobiliare it>
Date: Mon Feb 3 13:03:21 2014 +0100
Accept method call children
codegen/valaccodetransformer.vala | 14 ++++++++++++++
1 file changed, 14 insertions(+)
---
diff --git a/codegen/valaccodetransformer.vala b/codegen/valaccodetransformer.vala
index a6e4f9b57..b30c40cb9 100644
--- a/codegen/valaccodetransformer.vala
+++ b/codegen/valaccodetransformer.vala
@@ -359,8 +359,11 @@ public class Vala.CCodeTransformer : CodeTransformer {
var replacement = return_temp_access (local, expr.value_type, target_type,
formal_target_type);
end_replace_expression (replacement);
+ return;
}
}
+
+ expr.accept_children (this);
}
public override void visit_conditional_expression (ConditionalExpression expr) {
@@ -476,8 +479,11 @@ public class Vala.CCodeTransformer : CodeTransformer {
var replacement = return_temp_access (local, expr.value_type, target_type,
formal_target_type);
end_replace_expression (replacement);
+ return;
}
}
+
+ expr.accept_children (this);
}
Expression stringify (Expression expr) {
@@ -526,4 +532,12 @@ public class Vala.CCodeTransformer : CodeTransformer {
public override void visit_assignment (Assignment a) {
a.accept_children (this);
}
+
+ public override void visit_cast_expression (CastExpression expr) {
+ expr.accept_children (this);
+ }
+
+ public override void visit_lambda_expression (LambdaExpression expr) {
+ expr.accept_children (this);
+ }
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]