Nikolay Sivov : widl: Enable [hidden] attribute for enums.

Alexandre Julliard julliard at winehq.org
Tue Mar 23 15:07:41 CDT 2021


Module: wine
Branch: oldstable
Commit: 7ec8670985eb49e128b8c0d8be27b143b1c702fc
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=7ec8670985eb49e128b8c0d8be27b143b1c702fc

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Wed Sep 23 18:10:17 2020 +0300

widl: Enable [hidden] attribute for enums.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit 8eb756c6993e8931059ac51bff668fb6a546123e)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>

---

 tools/widl/parser.y | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/widl/parser.y b/tools/widl/parser.y
index 92b4f8ebd5a..f49172bbd8f 100644
--- a/tools/widl/parser.y
+++ b/tools/widl/parser.y
@@ -2115,7 +2115,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, 1, 0, 0, 0, 0, 1, 1, 0, 1, "hidden" },
+    /* ATTR_HIDDEN */              { 0, 0, 1, 1, 0, 1, 1, 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" },




More information about the wine-cvs mailing list