summaryrefslogtreecommitdiff
path: root/gcc/cpperror.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>1999-02-04 13:06:30 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>1999-02-04 13:06:30 +0000
commit6e0abaeff04449c0f82bddab2082731b496a8e16 (patch)
tree62f3700cf979a16092b73b57d64067ad65eef6d1 /gcc/cpperror.c
parenta852e3b162de7b5da4e3f556e6c0ef2a6be585b8 (diff)
downloadgcc-6e0abaeff04449c0f82bddab2082731b496a8e16.tar.gz
1999-02-04 16:04 -0500 Zack Weinberg <zack@rabi.columbia.edu>
* cpperror.c (cpp_print_containing_files): Fix formatting bug induced by merge. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25025 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpperror.c')
-rw-r--r--gcc/cpperror.c10
1 files changed, 5 insertions, 5 deletions
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;