[PATCH 06/11] widl: Allow hidden-attribute on type.

Kai Tietz ktietz70 at googlemail.com
Thu Aug 8 11:00:02 CDT 2013


Hi,

this patch allows to set the hidden-attribute on types, too.  Not sure
why midl allows that, nevertheless we need to allow it too.

Ok for apply?

Kai

>From 4c167e365a999631e5623663f003f5095233792b Mon Sep 17 00:00:00 2001
From: Kai Tietz <ktietz70 at googlemail.com>
Date: Thu, 8 Aug 2013 16:08:51 +0200
Subject: [PATCH 06/11] widl: Allow hidden-attribute on type.

---
 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 a653101..de6bc5f 100644
--- a/tools/widl/parser.y
+++ b/tools/widl/parser.y
@@ -2055,7 +2055,7 @@ struct allowed_attr allowed_attr[] =
     /* ATTR_HELPSTRING */          { 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 1,
1, 1, 1, "helpstring" },
     /* ATTR_HELPSTRINGCONTEXT */   { 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 1,
1, 1, 1, "helpstringcontext" },
     /* ATTR_HELPSTRINGDLL */       { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
0, 0, 0, "helpstringdll" },
-    /* ATTR_HIDDEN */              { 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1,
1, 0, 1, "hidden" },
+    /* ATTR_HIDDEN */              { 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 1,
1, 0, 1, "hidden" },
     /* ATTR_ID */                  { 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1,
0, 0, 0, "id" },
     /* ATTR_IDEMPOTENT */          { 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, "idempotent" },
     /* ATTR_IGNORE */              { 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0,
0, 0, 0, "ignore" },
-- 
1.7.9



More information about the wine-patches mailing list