[vala/0.12] Collect used variables in postfix expression for flow analysis
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.12] Collect used variables in postfix expression for flow analysis
- Date: Tue, 31 May 2011 19:11:47 +0000 (UTC)
commit f48b2564e04593a611729daa685403d37334832e
Author: Luca Bruno <lucabru src gnome org>
Date: Tue May 31 16:33:40 2011 +0200
Collect used variables in postfix expression for flow analysis
vala/valapostfixexpression.vala | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/vala/valapostfixexpression.vala b/vala/valapostfixexpression.vala
index 065381a..5d7add3 100644
--- a/vala/valapostfixexpression.vala
+++ b/vala/valapostfixexpression.vala
@@ -64,6 +64,10 @@ public class Vala.PostfixExpression : Expression {
return false;
}
+ public override void get_used_variables (Collection<LocalVariable> collection) {
+ inner.get_used_variables (collection);
+ }
+
public override bool check (CodeContext context) {
if (checked) {
return !error;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]