[PATCH 1/2] widl: Allow modules without attributes.
Nikolay Sivov
nsivov at codeweavers.com
Mon Oct 4 05:09:15 CDT 2021
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
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 4c361e81dd1..51050a24fa3 100644
--- a/tools/widl/parser.y
+++ b/tools/widl/parser.y
@@ -1082,7 +1082,7 @@ dispinterfaceref:
module: tMODULE typename { $$ = type_module_declare($2); }
;
-moduledef: attributes module '{' int_statements '}' semicolon_opt
+moduledef: m_attributes module '{' int_statements '}' semicolon_opt
{ $$ = type_module_define($2, $1, $4); }
;
--
2.33.0
More information about the wine-devel
mailing list