summaryrefslogtreecommitdiff
path: root/vala/valaconstant.vala
diff options
context:
space:
mode:
authorEvan Nemerson <evan@coeus-group.com>2010-05-15 15:14:48 -0700
committerJürg Billeter <j@bitron.ch>2010-06-15 20:38:18 +0200
commita2c979388250683f8dc91c18db45d3a0a5b3b3e3 (patch)
tree17ca03af3a16f1d75833913056785f9feedcb1f2 /vala/valaconstant.vala
parentae840f4c9616fcfad635476b6d81bc443bc35d26 (diff)
downloadvala-a2c979388250683f8dc91c18db45d3a0a5b3b3e3.tar.gz
Add support for [Deprecated] attribute
Fixes bug 614712.
Diffstat (limited to 'vala/valaconstant.vala')
-rw-r--r--vala/valaconstant.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/vala/valaconstant.vala b/vala/valaconstant.vala
index 6c0ee9e26..b9d29a2b9 100644
--- a/vala/valaconstant.vala
+++ b/vala/valaconstant.vala
@@ -153,6 +153,8 @@ public class Vala.Constant : Member, Lockable {
foreach (Attribute a in attributes) {
if (a.name == "CCode") {
process_ccode_attribute (a);
+ } else if (a.name == "Deprecated") {
+ process_deprecated_attribute (a);
}
}
}