Skip to content
Snippets Groups Projects
Commit 4adae004 authored by Markus Amsler's avatar Markus Amsler Committed by Alexandre Julliard
Browse files

Make parameter higlighting regex less "hungry".

parent d927c81b
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment