widl: Accept known type as library name.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2017-01-27 21:17:35 +01:00 committed by Alexandre Julliard
parent 0c1419542f
commit 2ff2792fc4
1 changed files with 1 additions and 0 deletions

View File

@ -429,6 +429,7 @@ importlib: tIMPORTLIB '(' aSTRING ')'
; ;
libraryhdr: tLIBRARY aIDENTIFIER { $$ = $2; } libraryhdr: tLIBRARY aIDENTIFIER { $$ = $2; }
| tLIBRARY aKNOWNTYPE { $$ = $2; }
; ;
library_start: attributes libraryhdr '{' { $$ = make_library($2, check_library_attrs($2, $1)); library_start: attributes libraryhdr '{' { $$ = make_library($2, check_library_attrs($2, $1));
if (!parse_only) start_typelib($$); if (!parse_only) start_typelib($$);