Make parameter higlighting regex less "hungry".

oldstable
Markus Amsler 2005-11-10 11:36:44 +00:00 committed by Alexandre Julliard
parent d927c81bca
commit 4adae004c3
1 changed files with 1 additions and 1 deletions

View File

@ -1721,7 +1721,7 @@ sub output_api_comment($)
# Format parameter names where they appear in the comment
for my $parameter_name (@parameter_names)
{
s/(^|[ \.\,\(\-\*])($parameter_name)($|[ \.\)\,\-\=\/])/$1$fmt[8]$2$fmt[9]$3/g;
s/(^|[ \.\,\(\-\*])($parameter_name)($|[ \.\)\,\-\/]|(\=[^"]))/$1$fmt[8]$2$fmt[9]$3/g;
}
# Structure dereferences include the dereferenced member
s/(\-\>[A-Za-z_]+)/$fmt[8]$1$fmt[9]/g;