winapi: Support optional parameters for stubs.

This commit is contained in:
Alexandre Julliard 2011-05-27 21:01:16 +02:00
parent 3d318679c6
commit 9a21e823ff
1 changed files with 1 additions and 1 deletions

View File

@ -391,7 +391,7 @@ sub parse_spec_file($$) {
}
}
}
} elsif(/^(\d+|@)\s+stub(?:\s+(-arch=(?:$ARCHES)(?:,(?:$ARCHES))*|-noname|-norelay|-ordinal|-i386|-ret16|-ret64|-private))*\s+(\S+)$/) {
} elsif(/^(\d+|@)\s+stub(?:\s+(-arch=(?:$ARCHES)(?:,(?:$ARCHES))*|-noname|-norelay|-ordinal|-i386|-ret16|-ret64|-private))*\s+(\S+?)\s*(\(\s*(.*?)\s*\))?$/) {
$ordinal = $1;
my $flags = $2;