From 8f3187bdf160dcad643d2962ad008f18e191a890 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Tue, 12 Jun 2007 17:50:20 +0200 Subject: [PATCH] winapi_check: .exe and .ocx files can also export APIs. --- tools/winapi/winapi_documentation.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/winapi/winapi_documentation.pm b/tools/winapi/winapi_documentation.pm index f41cd4904ae..a168cfa6b74 100644 --- a/tools/winapi/winapi_documentation.pm +++ b/tools/winapi/winapi_documentation.pm @@ -125,7 +125,7 @@ sub check_documentation($) { if(!$documentation_error && $options->documentation_wrong) { foreach (split(/\n/, $documentation)) { - if (/^\s*\*\s*(\S+)\s*[\(\[]\s*(\w+(?:\.(?:DRV|VXD))?)\s*\.\s*([^\s\)\]]*)\s*[\)\]].*?$/) { + if (/^\s*\*\s*(\S+)\s*[\(\[]\s*(\w+(?:\.(?:DRV|EXE|OCX|VXD))?)\s*\.\s*([^\s\)\]]*)\s*[\)\]].*?$/) { my $external_name = $1; my $module = $2; my $ordinal = $3;