From: Zack Weinberg Date: Thu, 4 Feb 1999 13:06:30 +0000 (+0000) Subject: cpperror.c (cpp_print_containing_files): Fix formatting bug induced by merge. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=74c9467af51e9d9b606c1592fd4cfdecbd1ddcb3;p=gcc.git cpperror.c (cpp_print_containing_files): Fix formatting bug induced by merge. 1999-02-04 16:04 -0500 Zack Weinberg * cpperror.c (cpp_print_containing_files): Fix formatting bug induced by merge. From-SVN: r25025 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3a222884d01..793d7aa7cb2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +1999-02-04 16:04 -0500 Zack Weinberg + + * cpperror.c (cpp_print_containing_files): Fix formatting + bug induced by merge. + Thu Feb 4 10:46:30 1999 Gavin Romig-Koch * config/mips/mips.md ([u]divmodsi4,[u]divmoddi4,[u]divsi3,[u]divdi3, diff --git a/gcc/cpperror.c b/gcc/cpperror.c index 4a4cc07c184..af018815d93 100644 --- a/gcc/cpperror.c +++ b/gcc/cpperror.c @@ -63,16 +63,16 @@ cpp_print_containing_files (pfile) if (first) { first = 0; - cpp_notice ("In file included from "); + cpp_notice ("In file included from %s:%ld", + ip->nominal_fname, line); } else - cpp_notice (",\n from "); + cpp_message (pfile, -1, ",\n from %s:%ld", + ip->nominal_fname, line); } - - fprintf (stderr, " from %s:%ld", ip->nominal_fname, line); } if (! first) - fprintf (stderr, ":\n"); + fputs (":\n", stderr); /* Record we have printed the status as of this time. */ pfile->input_stack_listing_current = 1;