[PATCH 08/11] widl: Allow version-attribute on type and enum.

Kai Tietz ktietz70 at googlemail.com
Thu Aug 8 11:03:01 CDT 2013


Hi,

this patch allows that the version-attribute is specified on types and
enums.  This is allowed by midl, so we should allow it too.

Ok for apply?

Kai

>From 870d77f0f4ec30d5ce2f9185089aec70921be34f Mon Sep 17 00:00:00 2001
From: Kai Tietz <ktietz70 at googlemail.com>
Date: Thu, 8 Aug 2013 16:12:28 +0200
Subject: [PATCH 08/11] widl: Allow version-attribute on type and enum.

---
 tools/widl/parser.y |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/widl/parser.y b/tools/widl/parser.y
index 12efe4d..1157839 100644
--- a/tools/widl/parser.y
+++ b/tools/widl/parser.y
@@ -2113,7 +2113,7 @@ struct allowed_attr allowed_attr[] =
     /* ATTR_UUID */                { 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1,
1, 1, 1, "uuid" },
     /* ATTR_V1ENUM */              { 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0,
0, 0, 0, "v1_enum" },
     /* ATTR_VARARG */              { 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, "vararg" },
-    /* ATTR_VERSION */             { 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1,
0, 0, 1, "version" },
+    /* ATTR_VERSION */             { 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1,
0, 0, 1, "version" },
     /* ATTR_VIPROGID */            { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 1, "vi_progid" },
     /* ATTR_WIREMARSHAL */         { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0,
0, 0, 0, "wire_marshal" },
 };
-- 
1.7.9



More information about the wine-patches mailing list