aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcpp/ChangeLog4
-rw-r--r--libcpp/lex.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index a173909b..6b8fe28 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -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.
diff --git a/libcpp/lex.c b/libcpp/lex.c
index 0713f65..827cfb0 100644
--- a/libcpp/lex.c
+++ b/libcpp/lex.c
@@ -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;