]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gidlparser: Support abstract metadata for properties
authorLuca Bruno <lucabru@src.gnome.org>
Mon, 21 Nov 2011 20:30:19 +0000 (21:30 +0100)
committerJürg Billeter <j@bitron.ch>
Wed, 30 Nov 2011 14:03:10 +0000 (15:03 +0100)
vapigen/valagidlparser.vala

index 621fa5464b70d772973c4ac063d3099b0f9169f4..209c0ab37decec4060d330814f57b0129f072dc2 100644 (file)
@@ -2687,6 +2687,10 @@ public class Vala.GIdlParser : CodeVisitor {
                                        if (eval (nv[1]) == "1") {
                                                prop.property_type.nullable = true;
                                        }
+                               } else if (nv[0] == "abstract") {
+                                       if (eval (nv[1]) == "1") {
+                                               prop.is_abstract = true;
+                                       }
                                }
                        }
                }