[vala/wip/attributes: 104/119] Drop other process_attributes
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/wip/attributes: 104/119] Drop other process_attributes
- Date: Mon, 4 Jul 2011 10:30:49 +0000 (UTC)
commit fb1f8198b1e99045e79b5d4a0d517bb4f6b1edf0
Author: Luca Bruno <lucabru src gnome org>
Date: Sun Jul 3 12:56:14 2011 +0200
Drop other process_attributes
vala/valacreationmethod.vala | 2 --
vala/valaenumvalue.vala | 2 --
vala/valainterface.vala | 15 ---------------
3 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/vala/valacreationmethod.vala b/vala/valacreationmethod.vala
index 3cf045f..826a0db 100644
--- a/vala/valacreationmethod.vala
+++ b/vala/valacreationmethod.vala
@@ -84,8 +84,6 @@ public class Vala.CreationMethod : Method {
checked = true;
- process_attributes ();
-
if (class_name != null && class_name != parent_symbol.name) {
// class_name is null for constructors generated by GIdlParser
Report.error (source_reference, "missing return type in method `%s.%sÂ".printf (context.analyzer.current_symbol.get_full_name (), class_name));
diff --git a/vala/valaenumvalue.vala b/vala/valaenumvalue.vala
index df2cec7..05d4494 100644
--- a/vala/valaenumvalue.vala
+++ b/vala/valaenumvalue.vala
@@ -81,8 +81,6 @@ public class Vala.EnumValue : Constant {
checked = true;
- process_attributes ();
-
if (value != null) {
value.check (context);
}
diff --git a/vala/valainterface.vala b/vala/valainterface.vala
index a2eff42..548304f 100644
--- a/vala/valainterface.vala
+++ b/vala/valainterface.vala
@@ -340,19 +340,6 @@ public class Vala.Interface : ObjectTypeSymbol {
return false;
}
- /**
- * Process all associated attributes.
- */
- public void process_attributes () {
- foreach (Attribute a in attributes) {
- if (a.name == "Deprecated") {
- process_deprecated_attribute (a);
- } else if (a.name == "Experimental") {
- process_experimental_attribute (a);
- }
- }
- }
-
public override void replace_type (DataType old_type, DataType new_type) {
for (int i = 0; i < prerequisites.size; i++) {
if (prerequisites[i] == old_type) {
@@ -369,8 +356,6 @@ public class Vala.Interface : ObjectTypeSymbol {
checked = true;
- process_attributes ();
-
var old_source_file = context.analyzer.current_source_file;
var old_symbol = context.analyzer.current_symbol;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]