Mercurial > jwe > octave
changeset 18940:29fc1736a6be
scripts/mkdoc.pl: remove '@(end )?example' leading spaces from DOCSTRING.
author | Carnë Draug <carandraug@octave.org> |
---|---|
date | Fri, 18 Jul 2014 00:03:22 +0100 |
parents | b0960d4afe5f |
children | 9eec76b084c8 |
files | scripts/mkdoc.pl |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/mkdoc.pl Thu Jul 17 21:53:31 2014 +0100 +++ b/scripts/mkdoc.pl Fri Jul 18 00:03:22 2014 +0100 @@ -68,7 +68,7 @@ { my $in_example = (m/\s*\@example\b/ .. m/\s*\@end\s+example\b/); s/^\s+\@/\@/ unless $in_example; - s/^\s+(\@(?:end)\s+group)/$1/; + s/^\s+(\@(?:end)\s+(group|example))/$1/; print $_; } }