[vala] Collect used variables in postfix expression for flow analysis
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] Collect used variables in postfix expression for flow analysis
- Date: Tue, 31 May 2011 14:45:04 +0000 (UTC)
commit 33f2d4551de8ad6844bfb7a482d4f25b6ff28346
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 9d9b684..37745c3 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]