+2001-01-08 Bruno Haible <haible@clisp.cons.org>
+
+ * xgettext.c (remember_a_message): When the comment tag is seen,
+ remember all remaining comment lines, not just one.
+
2001-09-25 Bruno Haible <haible@clisp.cons.org>
Upgrade to automake-1.5.
if (!mp->comment_dot)
{
int j;
+ bool add_all_remaining_comments;
+ add_all_remaining_comments = add_all_comments;
for (j = 0; ; ++j)
{
const char *s = xgettext_comment (j);
if (interesting)
continue;
}
- if (add_all_comments
- || (comment_tag != NULL
- && strncmp (s, comment_tag, strlen (comment_tag)) == 0))
+ /* When the comment tag is seen, it drags in not only the line
+ which it starts, but all remaining comment lines. */
+ if (add_all_remaining_comments
+ || (add_all_remaining_comments =
+ (comment_tag != NULL
+ && strncmp (s, comment_tag, strlen (comment_tag)) == 0)))
message_comment_dot_append (mp, s);
}
}