re PR preprocessor/41067 (Inconsistency in warnings on invalid \-escapes)
authorTom Tromey <tromey@redhat.com>
Mon, 17 Aug 2009 17:34:53 +0000 (17:34 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Mon, 17 Aug 2009 17:34:53 +0000 (17:34 +0000)
PR preprocessor/41067:
* charset.c (convert_escape): Add missing ":" to error text.

From-SVN: r150854

libcpp/ChangeLog
libcpp/charset.c

index 9da8317..c8bc7a8 100644 (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.
index f1da426..b96c646 100644 (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