Francois Gouget : winapi_check: Add support for '-arch=xxx' in spec files.
Module: wine Branch: master Commit: ea79b297f51a563ea824dc30efcbc2422beec248 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ea79b297f51a563ea824dc30ef... Author: Francois Gouget <fgouget(a)free.fr> Date: Sat Dec 13 12:04:22 2008 +0100 winapi_check: Add support for '-arch=xxx' in spec files. --- tools/winapi/winapi.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/winapi/winapi.pm b/tools/winapi/winapi.pm index 8c552e5..87339ac 100644 --- a/tools/winapi/winapi.pm +++ b/tools/winapi/winapi.pm @@ -281,7 +281,7 @@ sub parse_spec_file($$) { my $ordinal; if(/^(\d+|@)\s+ (pascal|stdcall|cdecl|varargs)\s+ - ((?:(?:-noname|-norelay|-i386|-ret16|-ret64|-register|-interrupt|-private)\s+)*)(\S+)\s*\(\s*(.*?)\s*\)\s*(\S*)$/x) + ((?:(?:-arch=(?:i386|x86_64)|-noname|-norelay|-i386|-ret16|-ret64|-register|-interrupt|-private)\s+)*)(\S+)\s*\(\s*(.*?)\s*\)\s*(\S*)$/x) { my $calling_convention = $2; my $flags = $3;
participants (1)
-
Alexandre Julliard