diff options
Diffstat (limited to 'gcc/cp/error.c')
-rw-r--r-- | gcc/cp/error.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/cp/error.c b/gcc/cp/error.c index 370816c64e4..89a00a02a3a 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -3365,8 +3365,8 @@ print_instantiation_partial_context_line (diagnostic_context *context, { pp_verbatim (context->printer, recursive_p - ? _("recursively required from here") - : _("required from here")); + ? _("recursively required from here\n") + : _("required from here\n")); } } @@ -3450,7 +3450,6 @@ print_instantiation_partial_context (diagnostic_context *context, } print_instantiation_partial_context_line (context, NULL, loc, /*recursive_p=*/false); - pp_newline (context->printer); } /* Called from cp_thing to print the template context for an error. */ |