/* GNU gettext - internationalization aids
- Copyright (C) 1995-1998, 2000-2010, 2012, 2015-2016 Free Software
+ Copyright (C) 1995-1998, 2000-2010, 2012, 2015-2016, 2018 Free Software
Foundation, Inc.
This file was written by Peter Miller <millerp@canb.auug.org.au>
/* Output mp->comment as a set of comment lines. */
+static bool print_comment = true;
+
+void
+message_print_style_comment (bool flag)
+{
+ print_comment = flag;
+}
+
void
message_print_comment (const message_ty *mp, ostream_t stream)
{
- if (mp->comment != NULL)
+ if (print_comment && mp->comment != NULL)
{
size_t j;
/* GNU gettext - internationalization aids
- Copyright (C) 1995-1998, 2000-2003, 2006, 2008, 2015-2016 Free Software
+ Copyright (C) 1995-1998, 2000-2003, 2006, 2008, 2015-2016, 2018 Free Software
Foundation, Inc.
This file was written by Peter Miller <millerp@canb.auug.org.au>
message_print_style_uniforum (void);
extern void
message_print_style_escape (bool flag);
+extern void
+ message_print_style_comment (bool flag);
extern void
message_print_style_filepos (enum filepos_comment_type type);