diff options
author | Marek Polacek <polacek@redhat.com> | 2014-08-19 15:52:02 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2014-08-19 15:52:02 +0000 |
commit | 3f4f5c9ad5536025c531a8702af9254ffe97a0ca (patch) | |
tree | 8731d3218366f6971e41ed58aae1aa06fb8e9847 /libcpp | |
parent | 689756831c96b68797acd8ad7a2d701d0ecc1932 (diff) | |
download | gcc-3f4f5c9ad5536025c531a8702af9254ffe97a0ca.zip gcc-3f4f5c9ad5536025c531a8702af9254ffe97a0ca.tar.gz gcc-3f4f5c9ad5536025c531a8702af9254ffe97a0ca.tar.bz2 |
* lex.c (_cpp_lex_direct): Fix a typo.
From-SVN: r214166
Diffstat (limited to 'libcpp')
-rw-r--r-- | libcpp/ChangeLog | 4 | ||||
-rw-r--r-- | libcpp/lex.c | 2 |
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; |