diff options
author | Tom Tromey <tromey@redhat.com> | 2009-08-17 17:34:53 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2009-08-17 17:34:53 +0000 |
commit | 709a22df7924a3f186c9f06573fde3c63a0a926f (patch) | |
tree | 21cd72c65589d2a6c5148dad2a7f1ddbec6ae2ee /libcpp | |
parent | de383aecd469861e18946d8300e50e430b59b0fb (diff) | |
download | gcc-709a22df7924a3f186c9f06573fde3c63a0a926f.zip gcc-709a22df7924a3f186c9f06573fde3c63a0a926f.tar.gz gcc-709a22df7924a3f186c9f06573fde3c63a0a926f.tar.bz2 |
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
Diffstat (limited to 'libcpp')
-rw-r--r-- | libcpp/ChangeLog | 5 | ||||
-rw-r--r-- | libcpp/charset.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 9da8317..c8bc7a8 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -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. diff --git a/libcpp/charset.c b/libcpp/charset.c index f1da426..b96c646 100644 --- a/libcpp/charset.c +++ b/libcpp/charset.c @@ -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 |