PR preprocessor/60736
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Nov 2015 08:27:12 +0000 (08:27 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Nov 2015 08:27:12 +0000 (08:27 +0000)
commit55d11fae9cb94c24468a776e7d6860e2623917f4
tree5835d3decb0a09480820c64a42a01462dccceb96
parenta2cdcddbae83dff82294bf3b85b63415c070b60b
PR preprocessor/60736
* include/cpplib.h (cpp_errno_filename): New prototype.
* errors.c (cpp_errno): Don't handle msgid "" specially, use
_(msgid) instead of msgid as argument to cpp_error.
(cpp_errno_filename): New function.
* files.c (read_file_guts): Use cpp_errno_filename instead of
cpp_errno.
(open_file_failed): Likewise.  Use file->name if file->path is NULL
in diagnostics.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230591 138bc75d-0d04-0410-961f-82ee72b054a4
libcpp/ChangeLog
libcpp/errors.c
libcpp/files.c
libcpp/include/cpplib.h