This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
egcs/gcc ChangeLog cpperror.c cpplib.c
- To: gcc-cvs at gcc dot gnu dot org
- Subject: egcs/gcc ChangeLog cpperror.c cpplib.c
- From: zack at gcc dot gnu dot org
- Date: 30 Jan 2000 03:31:59 -0000
CVSROOT: /cvs/gcc
Module name: egcs
Changes by: zack@sourceware.cygnus.com 00/01/29 19:31:59
Modified files:
gcc : ChangeLog cpperror.c cpplib.c
Log message:
* cpperror.c (cpp_file_line_for_message): If 'line' is zero,
just print "<command line>". If 'filename' is null or an
empty string, print "<stdin>" for the filename.
* cpplib.c (do_define): Don't print the 'location of the
previous definition' message if we're still parsing the
command line.
(cpp_pedwarn_with_file_and_line): Always call
cpp_file_line_for_message.