winapi: Add ordinal flag.
This commit is contained in:
parent
9eda2de2b8
commit
f181a48e6a
|
@ -282,7 +282,7 @@ sub parse_spec_file($$) {
|
||||||
my $ARCHES="alpha|i386|powerpc|sparc|win32|win64|x86_64";
|
my $ARCHES="alpha|i386|powerpc|sparc|win32|win64|x86_64";
|
||||||
if(/^(\d+|@)\s+
|
if(/^(\d+|@)\s+
|
||||||
(cdecl|pascal|stdcall|varargs)\s+
|
(cdecl|pascal|stdcall|varargs)\s+
|
||||||
((?:(?:-arch=(?:$ARCHES)(?:,(?:$ARCHES))*|-noname|-norelay|-i386|-ret16|-ret64|-register|-interrupt|-private)\s+)*)(\S+)\s*\(\s*(.*?)\s*\)\s*(\S*)$/x)
|
((?:(?:-arch=(?:$ARCHES)(?:,(?:$ARCHES))*|-noname|-norelay|-ordinal|-i386|-ret16|-ret64|-register|-interrupt|-private)\s+)*)(\S+)\s*\(\s*(.*?)\s*\)\s*(\S*)$/x)
|
||||||
{
|
{
|
||||||
my $calling_convention = $2;
|
my $calling_convention = $2;
|
||||||
my $flags = $3;
|
my $flags = $3;
|
||||||
|
|
Loading…
Reference in New Issue