Signed-off-by: Francois Gouget fgouget@free.fr --- 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 941fdfe5a0b..f9310b9c7ec 100644 --- a/tools/winapi/winapi_parser.pm +++ b/tools/winapi/winapi_parser.pm @@ -578,7 +578,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;