winapi_test: Clarify the error message regarding struct size and alignment.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Francois Gouget 2020-04-14 16:56:00 +02:00 committed by Alexandre Julliard
parent 13c69ae840
commit e5531732ae
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ sub _find_align_kind_size($) {
} elsif (/^(struct|union)$/) { } elsif (/^(struct|union)$/) {
$kind = $1; $kind = $1;
if (!$size_parse_reported{$_}) { if (!$size_parse_reported{$_}) {
$output->write("$type_name: can't parse type\n"); $output->write("cannot compute the size and alignment of $type_name types\n");
$size_parse_reported{$_} = 1; $size_parse_reported{$_} = 1;
} }
} elsif (/^\w+\s*\((?:\s*CALLBACK|\s*NTAPI|\s*WINAPI)?\s*\*\s*\)\s*\(.*?\)$/) { } elsif (/^\w+\s*\((?:\s*CALLBACK|\s*NTAPI|\s*WINAPI)?\s*\*\s*\)\s*\(.*?\)$/) {