r230591 - in /trunk/libcpp: ChangeLog errors.c ...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Thu Nov 19 08:27:00 GMT 2015


Author: jakub
Date: Thu Nov 19 08:27:12 2015
New Revision: 230591

URL: https://gcc.gnu.org/viewcvs?rev=230591&root=gcc&view=rev
Log:
	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.

Modified:
    trunk/libcpp/ChangeLog
    trunk/libcpp/errors.c
    trunk/libcpp/files.c
    trunk/libcpp/include/cpplib.h



More information about the Gcc-cvs mailing list