Module: wine Branch: master Commit: 13c69ae840083105880cac443024b445bc0eb3a9 URL: https://source.winehq.org/git/wine.git/?a=commit;h=13c69ae840083105880cac443...
Author: Francois Gouget fgouget@free.fr Date: Tue Apr 14 16:55:44 2020 +0200
winapi: Allow DECLSPEC_ALIGN() in typedef declarations.
Signed-off-by: Francois Gouget fgouget@free.fr Signed-off-by: Alexandre Julliard julliard@winehq.org
---
tools/winapi/winapi_parser.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/winapi/winapi_parser.pm b/tools/winapi/winapi_parser.pm index eee7aa4e66..da0a929bf1 100644 --- a/tools/winapi/winapi_parser.pm +++ b/tools/winapi/winapi_parser.pm @@ -556,7 +556,7 @@ sub parse_c_file($$) { } elsif(/(DEFAULT|DECLARE)_DEBUG_CHANNEL\s*((\S+))/s) { $_ = $'; $again = 1; push @$debug_channels, $1; - } elsif(/typedef\s+(enum|interface|struct|union)(?:\s+(\w+))?\s*{/s) { + } elsif(/typedef\s+(enum|interface|struct|union)(?:\s+DECLSPEC_ALIGN(\d+))?(?:\s+(\w+))?\s*{/s) { $_ = $'; $again = 1; $level++; my $type = $1;