* lex.c (_cpp_lex_direct): Fix a typo.
authorMarek Polacek <polacek@redhat.com>
Tue, 19 Aug 2014 15:52:02 +0000 (15:52 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Tue, 19 Aug 2014 15:52:02 +0000 (15:52 +0000)
From-SVN: r214166

libcpp/ChangeLog
libcpp/lex.c

index a173909..6b8fe28 100644 (file)
@@ -1,5 +1,9 @@
 2014-08-19  Marek Polacek  <polacek@redhat.com>
 
+       * lex.c (_cpp_lex_direct): Fix a typo.
+
+2014-08-19  Marek Polacek  <polacek@redhat.com>
+
        * charset.c (_cpp_valid_ucn): Warn only if -Wc90-c99-compat.
        * lex.c (_cpp_lex_direct): Likewise.
        * macro.c (replace_args): Likewise.
index 0713f65..827cfb0 100644 (file)
@@ -2341,7 +2341,7 @@ _cpp_lex_direct (cpp_reader *pfile)
                   && ! buffer->warned_cplusplus_comments)
            {
              cpp_error (pfile, CPP_DL_WARNING,
-                        "C++ style comments are are incompatible with C90");
+                        "C++ style comments are incompatible with C90");
              cpp_error (pfile, CPP_DL_WARNING,
                         "(this will be reported only once per input file)");
              buffer->warned_cplusplus_comments = 1;