From d87a26d99465f0f655b9d22aff21ca55dbd5ad31 Mon Sep 17 00:00:00 2001 From: mpolacek Date: Tue, 19 Aug 2014 15:52:02 +0000 Subject: [PATCH] * lex.c (_cpp_lex_direct): Fix a typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214166 138bc75d-0d04-0410-961f-82ee72b054a4 --- libcpp/ChangeLog | 4 ++++ libcpp/lex.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index a173909b059..6b8fe2835a3 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,5 +1,9 @@ 2014-08-19 Marek Polacek + * lex.c (_cpp_lex_direct): Fix a typo. + +2014-08-19 Marek Polacek + * 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 0713f65d8da..827cfb0d75f 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; -- 2.11.4.GIT