cpperror.c (cpp_print_containing_files): Fix formatting bug induced by merge.
authorZack Weinberg <zack@rabi.columbia.edu>
Thu, 4 Feb 1999 13:06:30 +0000 (13:06 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Thu, 4 Feb 1999 13:06:30 +0000 (13:06 +0000)
1999-02-04 16:04 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
* cpperror.c (cpp_print_containing_files): Fix formatting
bug induced by merge.

From-SVN: r25025

gcc/ChangeLog
gcc/cpperror.c

index 3a222884d01b6cfccda4af826bc393b742c761eb..793d7aa7cb2bd3b23571dd1ac9403ec01ddccc0d 100644 (file)
@@ -1,3 +1,8 @@
+1999-02-04 16:04 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
+
+       * cpperror.c (cpp_print_containing_files): Fix formatting 
+       bug induced by merge.
+
 Thu Feb  4 10:46:30 1999  Gavin Romig-Koch  <gavin@cygnus.com>
 
        * config/mips/mips.md ([u]divmodsi4,[u]divmoddi4,[u]divsi3,[u]divdi3,
index 4a4cc07c1842836f7a797305e09809a9dc565c74..af018815d9338b03ffcbf2030ca69bcc0c963754 100644 (file)
@@ -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;