]> gcc.gnu.org Git - gcc.git/commit
cpperror.c (cpp_file_line_for_message): If 'line' is zero, just print "<command line>".
authorZack Weinberg <zack@wolery.cumb.org>
Sun, 30 Jan 2000 03:31:59 +0000 (03:31 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Sun, 30 Jan 2000 03:31:59 +0000 (03:31 +0000)
commit59495f384361d2931f626d4a537b0b5a5edd6ab7
tree79fd63777562408a7a168cbfdeed51b0d2eb1186
parent607ace9b9bec36a74b0c8f4af4ed0eefc6bddca3
cpperror.c (cpp_file_line_for_message): If 'line' is zero, just print "<command line>".

* 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.

From-SVN: r31697
gcc/ChangeLog
gcc/cpperror.c
gcc/cpplib.c
This page took 0.05541 seconds and 5 git commands to generate.