[vala] Remove debug statements in the gir parser positional parameter handling
- From: Robert James Taylor <robtaylor src gnome org>
- To: svn-commits-list gnome org
- Subject: [vala] Remove debug statements in the gir parser positional parameter handling
- Date: Wed, 22 Jul 2009 15:53:03 +0000 (UTC)
commit ed9d50a1050510314dd1092b45c6dd92b27cfbac
Author: Rob Taylor <rob taylor codethink co uk>
Date: Tue Jun 9 11:50:57 2009 +0100
Remove debug statements in the gir parser positional parameter handling
vapigen/valagirparser.vala | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/vapigen/valagirparser.vala b/vapigen/valagirparser.vala
index 47e19dc..968a5da 100644
--- a/vapigen/valagirparser.vala
+++ b/vapigen/valagirparser.vala
@@ -924,12 +924,6 @@ public class Vala.GirParser : CodeVisitor {
i++;
}
- i =0;
- foreach (MethodInfo info in parameters) {
- debug ("%d %s %f %d %d %d %d", i, info.param.name, info.vala_idx, (int)info.keep, info.array_length_idx, info.closure_idx, info.destroy_idx);
- i++;
- }
-
foreach (MethodInfo info in parameters) {
if (info.keep) {
@@ -942,7 +936,6 @@ public class Vala.GirParser : CodeVisitor {
Report.error (get_current_src (), "invalid array_length index");
continue;
}
- debug ("Setting carray_length_parameter_position on %s to %f", info.param.name, parameters[info.array_length_idx-add].vala_idx);
info.param.carray_length_parameter_position = parameters[info.array_length_idx-add].vala_idx;
}
@@ -953,7 +946,7 @@ public class Vala.GirParser : CodeVisitor {
}
info.param.cdelegate_target_parameter_position = parameters[info.closure_idx - add].vala_idx;
}
-/*
+/* Leaving this as a TODO, needs more testing
if (info.destroy_idx != -1) {
if (info.destroy_idx - add >= parameters.size) {
Report.error (get_current_src (), "invalid destroy index");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]