RE: [Doxygen-users] multiline /// comments
Brought to you by:
dimitri
From: Gedalia P. <ge...@tu...> - 2002-01-17 17:34:13
|
Hey thanks glenn, it seems pretty trivial to convert it over: NEW_LINE: while (<>) { #########=20 # Begin replacement of /// comments with /** ... **/ comments # This purposely does not do NEW_LINE or printing. #########=20 if (/\/\/\//) { if ($comment_count =3D=3D 0){ # first line of a comment block $comment_count++; $_ =3D~ s/\/\/\//\/\*\*/; } else { # Some line in the middle of a comment block. $comment_count++; ### # Changed to have middle stuff with no asterix. # $_ =3D~ s/\/\/\// \*\*/; ### $_ =3D~ s/\/\/\///; } } elsif ($comment_count > 0){ # We were in a comment block; need to terminate it. $comment_count =3D 0; $_ =3D " \*\*\/\n" . $_ ; } ######### End Comment style change. =20 -Gedalia |