winapi_check: Add support for '-arch=xxx' in spec files.

This commit is contained in:
Francois Gouget 2008-12-13 12:04:22 +01:00 committed by Alexandre Julliard
parent 5d6f7b9784
commit ea79b297f5
1 changed files with 1 additions and 1 deletions

View File

@ -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;