Module: wine Branch: master Commit: eb85be50f45923cb991bf53b00e7ad1cb669425e URL: https://source.winehq.org/git/wine.git/?a=commit;h=eb85be50f45923cb991bf53b0...
Author: Francois Gouget fgouget@free.fr Date: Tue Apr 14 16:55:27 2020 +0200
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
---
tools/winapi/winapi_parser.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/winapi/winapi_parser.pm b/tools/winapi/winapi_parser.pm index b24ce5f5f3..eee7aa4e66 100644 --- a/tools/winapi/winapi_parser.pm +++ b/tools/winapi/winapi_parser.pm @@ -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) {