From: Luca Bruno Date: Mon, 21 Nov 2011 20:30:19 +0000 (+0100) Subject: gidlparser: Support abstract metadata for properties X-Git-Tag: 0.15.0~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=107338fff2dbd406f05768b631998b4a8762f2de;p=thirdparty%2Fvala.git gidlparser: Support abstract metadata for properties --- diff --git a/vapigen/valagidlparser.vala b/vapigen/valagidlparser.vala index 621fa5464..209c0ab37 100644 --- a/vapigen/valagidlparser.vala +++ b/vapigen/valagidlparser.vala @@ -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; + } } } }