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

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

parent 5d6f7b97
......@@ -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;
......
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