* lex.c (_cpp_lex_direct): Fix a typo.

From-SVN: r214166
This commit is contained in:
Marek Polacek 2014-08-19 15:52:02 +00:00 committed by Marek Polacek
parent 689756831c
commit 3f4f5c9ad5
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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.

View 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;