Nikolay Sivov : widl: Allow modules without attributes.

Alexandre Julliard julliard at winehq.org
Mon Oct 4 15:42:18 CDT 2021


Module: wine
Branch: master
Commit: e3893d6bfd6f72c367efd776a8b41696f096b015
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=e3893d6bfd6f72c367efd776a8b41696f096b015

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Mon Oct  4 13:09:15 2021 +0300

widl: Allow modules without attributes.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard 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 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); }
 	;
 




More information about the wine-cvs mailing list