ChangeSet ID: 21213 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard(a)winehq.org 2005/11/10 05:36:44 Modified files: tools : c2man.pl Log message: Markus Amsler <markus.amsler(a)oribi.org> Make parameter higlighting regex less "hungry". Patch: http://cvs.winehq.org/patch.py?id=21213 Old revision New revision Changes Path 1.22 1.23 +1 -1 wine/tools/c2man.pl Index: wine/tools/c2man.pl diff -u -p wine/tools/c2man.pl:1.22 wine/tools/c2man.pl:1.23 --- wine/tools/c2man.pl:1.22 10 Nov 2005 11:36:44 -0000 +++ wine/tools/c2man.pl 10 Nov 2005 11:36:44 -0000 @@ -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;
participants (1)
-
Alexandre Julliard