winapi: Tweak a couple of typedef error messages.

This makes them more unique, making it easier to find which part of the
code issues these error messages.

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:55:27 +02:00 committed by Alexandre Julliard
parent 5fec867694
commit eb85be50f4

View file

@ -620,10 +620,10 @@ sub parse_c_file($$) {
&$type_end([$name]);
} elsif(/typedef[^\{;]*;/s) {
$_ = $'; $again = 1;
$output->write("$file: $.: can't parse: '$&'\n");
$output->write("$file: $.: could not parse typedef: '$&'\n");
} elsif(/typedef[^\{]*\{[^\}]*\}[^;];/s) {
$_ = $'; $again = 1;
$output->write("$file: $.: can't parse: '$&'\n");
$output->write("$file: $.: could not parse multi-line typedef: '$&'\n");
} elsif(/\'[^\']*\'/s) {
$_ = $'; $again = 1;
} elsif(/\"(?:[^\\\"]*|\\.)*\"/s) {