Commit eb85be50 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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: 's avatarFrancois Gouget <fgouget@free.fr> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 5fec8676
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment