vala r1767 - in trunk: . vapigen
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r1767 - in trunk: . vapigen
- Date: Tue, 16 Sep 2008 10:26:42 +0000 (UTC)
Author: juergbi
Date: Tue Sep 16 10:26:42 2008
New Revision: 1767
URL: http://svn.gnome.org/viewvc/vala?rev=1767&view=rev
Log:
2008-09-16 JÃrg Billeter <j bitron ch>
* vapigen/valagidlparser.vala:
Add support for virtual and abstract metadata attributes,
patch by Andrea Del Signore, fixes bug 551205
Modified:
trunk/ChangeLog
trunk/vapigen/valagidlparser.vala
Modified: trunk/vapigen/valagidlparser.vala
==============================================================================
--- trunk/vapigen/valagidlparser.vala (original)
+++ trunk/vapigen/valagidlparser.vala Tue Sep 16 10:26:42 2008
@@ -429,6 +429,10 @@
if (eval (nv[1]) == "1") {
cl.is_immutable = true;
}
+ } else if (nv[0] == "abstract" && base_class != null) {
+ if (eval (nv[1]) == "1") {
+ cl.is_abstract = true;
+ }
}
}
}
@@ -1352,7 +1356,12 @@
if (eval (nv[1]) == "1") {
m.is_abstract = true;
}
+ } else if (nv[0] == "virtual") {
+ if (eval (nv[1]) == "1") {
+ m.is_virtual = true;
+ }
}
+
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]