summaryrefslogtreecommitdiff
path: root/vala/valaconstant.vala
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2011-03-15 01:39:53 +0100
committerJürg Billeter <j@bitron.ch>2011-03-15 21:43:10 +0100
commitf197d7330bd2c0cf3c8c0b7ce419e411e354aac3 (patch)
tree12ef9cdfa21751013295b25c80c6d4857aee5bf3 /vala/valaconstant.vala
parent7b05969ab41470107e20d12e0d742598c14ef1cc (diff)
downloadvala-f197d7330bd2c0cf3c8c0b7ce419e411e354aac3.tar.gz
Add support for [Experimental] attribute
Report a warning when using experimental symbols. The GIDL parser has been updated, too, and bindings have been regenerated. Fixes bug 644779.
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 c9b880cb5..0c77d07bc 100644
--- a/vala/valaconstant.vala
+++ b/vala/valaconstant.vala
@@ -159,6 +159,8 @@ public class Vala.Constant : Symbol, Lockable {
process_ccode_attribute (a);
} else if (a.name == "Deprecated") {
process_deprecated_attribute (a);
+ } else if (a.name == "Experimental") {
+ process_experimental_attribute (a);
}
}
}