diff options
author | Norbert Preining <norbert@preining.info> | 2022-03-26 03:00:32 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-03-26 03:00:32 +0000 |
commit | c441617a2cd82c0b0907d0106dbf047987ffd97d (patch) | |
tree | 6e98859c2dabc00a6413a5f217b93a2f9b902dfa /support/latexindent/LatexIndent/TrailingComments.pm | |
parent | d636f5360c4ea795ed5560ea0a7524da61c01491 (diff) |
CTAN sync 202203260300
Diffstat (limited to 'support/latexindent/LatexIndent/TrailingComments.pm')
-rw-r--r-- | support/latexindent/LatexIndent/TrailingComments.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/support/latexindent/LatexIndent/TrailingComments.pm b/support/latexindent/LatexIndent/TrailingComments.pm index 82ff154c87..8bab5bc130 100644 --- a/support/latexindent/LatexIndent/TrailingComments.pm +++ b/support/latexindent/LatexIndent/TrailingComments.pm @@ -54,6 +54,9 @@ sub add_comment_symbol{ sub remove_trailing_comments{ my $self = shift; + + $commentCounter = 0; + $logger->trace("*Storing trailing comments")if $is_t_switch_active; my $notPreceededBy = qr/${${$mainSettings{fineTuning}}{trailingComments}}{notPreceededBy}/; |