André Hentschel : winapi: Allow multiple flags.

Alexandre Julliard julliard at winehq.org
Mon May 31 11:21:35 CDT 2010


Module: wine
Branch: master
Commit: 86f67209bb27f150ecd6692299cae471887ef1f1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=86f67209bb27f150ecd6692299cae471887ef1f1

Author: André Hentschel <nerv at dawncrow.de>
Date:   Fri May 28 21:31:31 2010 +0200

winapi: Allow multiple flags.

---

 tools/winapi/winapi.pm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/winapi/winapi.pm b/tools/winapi/winapi.pm
index 4d0c43d..dcd9268 100644
--- a/tools/winapi/winapi.pm
+++ b/tools/winapi/winapi.pm
@@ -391,7 +391,7 @@ sub parse_spec_file($$) {
 		    }
 		}
 	    }
-	} elsif(/^(\d+|@)\s+stub(?:\s+(-arch=(?:$ARCHES)(?:,(?:$ARCHES))*|-noname|-norelay|-i386|-ret16|-ret64|-private))?\s+(\S+)$/) {
+	} elsif(/^(\d+|@)\s+stub(?:\s+(-arch=(?:$ARCHES)(?:,(?:$ARCHES))*|-noname|-norelay|-i386|-ret16|-ret64|-private))*\s+(\S+)$/) {
 	    $ordinal = $1;
 
 	    my $flags = $2;
@@ -440,7 +440,7 @@ sub parse_spec_file($$) {
 	    } else { # if($$function_external_module{$external_name} !~ /$module/) {
 		$$function_external_module{$external_name} .= " & $module";
 	    }
-	} elsif(/^(\d+|@)\s+extern(?:\s+(?:-arch=(?:$ARCHES)(?:,(?:$ARCHES))*|-norelay|-i386|-ret16|-ret64))?\s+(\S+)\s*(\S*)$/) {
+	} elsif(/^(\d+|@)\s+extern(?:\s+(?:-arch=(?:$ARCHES)(?:,(?:$ARCHES))*|-norelay|-i386|-ret16|-ret64))*\s+(\S+)\s*(\S*)$/) {
 	    $ordinal = $1;
 
 	    my $external_name = $2;




More information about the wine-cvs mailing list