[PATCH 07/11] widl: Allow inputsync-attribute on functions.

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


Hi,

The inputsync-attribute needs to be at least ignored (and allowed) on
functions.  For header-generation it should be fine to ignore its
actual meaning on functions.

Ok for apply?

Kai

>From 82f2544c07ad2b1346ed916987885d5bb6bca056 Mon Sep 17 00:00:00 2001
From: Kai Tietz <ktietz70 at googlemail.com>
Date: Thu, 8 Aug 2013 16:10:30 +0200
Subject: [PATCH 07/11] widl: Allow inputsync-attribute on functions.

---
 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 de6bc5f..12efe4d 100644
--- a/tools/widl/parser.y
+++ b/tools/widl/parser.y
@@ -2064,7 +2064,7 @@ struct allowed_attr allowed_attr[] =
     /* ATTR_IMPLICIT_HANDLE */     { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, "implicit_handle" },
     /* ATTR_IN */                  { 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0,
0, 0, 0, "in" },
     /* ATTR_INLINE */              { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, "inline" },
-    /* ATTR_INPUTSYNC */           { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, "inputsync" },
+    /* ATTR_INPUTSYNC */           { 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, "inputsync" },
     /* ATTR_LENGTHIS */            { 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0,
0, 0, 0, "length_is" },
     /* ATTR_LIBLCID */             { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
0, 0, 0, "lcid" },
     /* ATTR_LICENSED */            { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 1, "licensed" },
-- 
1.7.9



More information about the wine-patches mailing list