winapi: Add ordinal flag.

This commit is contained in:
André Hentschel 2010-05-28 21:31:06 +02:00 committed by Alexandre Julliard
parent 9eda2de2b8
commit f181a48e6a
1 changed files with 1 additions and 1 deletions

View File

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