re PR preprocessor/41067 (Inconsistency in warnings on invalid \-escapes)

PR preprocessor/41067:
	* charset.c (convert_escape): Add missing ":" to error text.

From-SVN: r150854
This commit is contained in:
Tom Tromey 2009-08-17 17:34:53 +00:00 committed by Tom Tromey
parent de383aecd4
commit 709a22df79
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-08-17 Tom Tromey <tromey@redhat.com>
PR preprocessor/41067:
* charset.c (convert_escape): Add missing ":" to error text.
2009-07-27 Douglas B Rupp <rupp@gnat.com>
* include/cpplib.h (INO_T_CPP): New macro.

View File

@ -1301,7 +1301,7 @@ convert_escape (cpp_reader *pfile, const uchar *from, const uchar *limit,
unknown:
if (ISGRAPH (c))
cpp_error (pfile, CPP_DL_PEDWARN,
"unknown escape sequence '\\%c'", (int) c);
"unknown escape sequence: '\\%c'", (int) c);
else
{
/* diagnostic.c does not support "%03o". When it does, this