]> git.ipfire.org Git - thirdparty/gcc.git/commit
cpperror.c (print_location): Don't take a file name; use the line map instead.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Fri, 17 Aug 2001 22:23:49 +0000 (22:23 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Fri, 17 Aug 2001 22:23:49 +0000 (22:23 +0000)
commitbb74c963017da6f462498f75a5b09ff782e0137c
tree1119c95193138295f135f3d1be8fd1f94c827ca3
parentc009f01f06d52c7f4e44e666688e7e88409a501c
cpperror.c (print_location): Don't take a file name; use the line map instead.

* cpperror.c (print_location):  Don't take a file name; use the
line map instead.
(_cpp_begin_message): Similarly.
(cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
(cpp_pedwarn_with_file_and_line): Remove.
* cppfiles.c (stack_include_file): Update; set filename to stdin
here when appropriate.
* cpphash.h (struct cpp_buffer): Remove nominal_fname.
(_cpp_begin_message): Don't take a file name.
* cppinit.c: Add comment.
* cpplex.c: Fix end-of-directive indicator.
* cpplib.c: Don't include intl.h.
(run_directive, do_diagnostic): Update.
(do_line): Update to not use nominal_fname.
(cpp_push_buffer): Don't take a filename.
* cpplib.h (struct ht): Remove.
(cpp_push_buffer): Don't take a filename.
(cpp_pedwarn_with_file_and_line): Remove.
* cppmacro.c (struct cpp_macro): Remove file.
(builtin_macro): Update.
(_cpp_create_definition): Update.
* cppmain.c: Correct comment.
* fix-header.c (read_scan_file): Update.

From-SVN: r44986
gcc/ChangeLog
gcc/cpperror.c
gcc/cppfiles.c
gcc/cpphash.h
gcc/cppinit.c
gcc/cpplex.c
gcc/cpplib.c
gcc/cpplib.h
gcc/cppmacro.c
gcc/cppmain.c
gcc/fix-header.c