[vala/staging] subroutine: Set parent_node of body block
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] subroutine: Set parent_node of body block
- Date: Sun, 26 Mar 2017 10:27:23 +0000 (UTC)
commit 77f72208390a622ce4134dcbdeb58e34e67ad9a7
Author: Timm Bäder <mail baedert org>
Date: Tue Nov 1 10:35:47 2016 +0100
subroutine: Set parent_node of body block
vala/valasubroutine.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/vala/valasubroutine.vala b/vala/valasubroutine.vala
index 73cab98..e9c05ac 100644
--- a/vala/valasubroutine.vala
+++ b/vala/valasubroutine.vala
@@ -46,6 +46,7 @@ public abstract class Vala.Subroutine : Symbol {
_body = value;
if (_body != null) {
_body.owner = scope;
+ _body.parent_node = this;
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]