Jacek Caban : widl: Accept known type as library name.

Alexandre Julliard julliard at winehq.org
Mon Jan 30 15:39:16 CST 2017


Module: wine
Branch: master
Commit: 2ff2792fc496313cf1178855dbf5e172ed08cc9b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2ff2792fc496313cf1178855dbf5e172ed08cc9b

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Fri Jan 27 21:17:35 2017 +0100

widl: Accept known type as library name.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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

diff --git a/tools/widl/parser.y b/tools/widl/parser.y
index 6551ea2..c262ca8 100644
--- a/tools/widl/parser.y
+++ b/tools/widl/parser.y
@@ -429,6 +429,7 @@ importlib: tIMPORTLIB '(' aSTRING ')'
 	;
 
 libraryhdr: tLIBRARY aIDENTIFIER		{ $$ = $2; }
+	|   tLIBRARY aKNOWNTYPE			{ $$ = $2; }
 	;
 library_start: attributes libraryhdr '{'	{ $$ = make_library($2, check_library_attrs($2, $1));
 						  if (!parse_only) start_typelib($$);




More information about the wine-cvs mailing list