mirror of
https://github.com/apache/httpd.git
synced 2025-07-29 12:37:06 +00:00
Improve hook matching.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96984 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -61,7 +61,7 @@ sub scanFile {
|
||||
$::Hooks{$name}->{declared}=$file;
|
||||
$::Hooks{$name}->{ret}=$ret;
|
||||
$::Hooks{$name}->{args}=$args;
|
||||
} elsif(/AP_DECLARE_HOOK\(([^,]+),([^,]+)/) {
|
||||
} elsif(/AP_DECLARE_HOOK\((\s*[^,\s]+)\s*,\s*([^,\s]+)/) {
|
||||
# really we should swallow subsequent lines to get the arguments...
|
||||
my $name=$2;
|
||||
my $ret=$1;
|
||||
|
Reference in New Issue
Block a user