Skip to content

Commit

Permalink
List indentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 11, 2020
1 parent 83dc3a5 commit 7ccc7ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/doxygen_space.pl
Expand Up @@ -90,6 +90,10 @@
print $out_handle "$1* - $2\n";
$INSIDE_DOX_LIST = 1;
}
elsif ($INSIDE_DOX_LIST && $new_line =~ m/^(\s*)\*\s{2,}(.*)$/ ){
# print $out_handle "list continuation\n";
print $out_handle "$1* $2\n";
}
elsif ($INSIDE_DOX_LIST && $new_line =~ m/^(\s*)\*(?!\/)/ ){
$INSIDE_DOX_LIST = 0;
# print $out_handle "end list without line break\n";
Expand Down

0 comments on commit 7ccc7ae

Please sign in to comment.