diff options
author | dodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-04-29 16:27:08 +0000 |
---|---|---|
committer | dodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-04-29 16:27:08 +0000 |
commit | 86c82b61ccc3aac2f143a169c1f05aa6797d66dd (patch) | |
tree | 5aab809289c936125df3cbb55e8fb90737ff738e /libcpp/lex.c | |
parent | d1cef7b2832369138e28c78e95ea348f4ba269a7 (diff) | |
download | gcc-86c82b61ccc3aac2f143a169c1f05aa6797d66dd.tar.gz |
Don't use C++ style comments in libcpp
I noticed that the file lex.c had C++ style comments, which I believe
is against the coding standards of the project.
Fixed, tested and applied to master as per the obvious rule.
libcpp/
* lex.c (lex_raw_string): Change C++ style comments into C
style comments.
(lex_string): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186946 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp/lex.c')
-rw-r--r-- | libcpp/lex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcpp/lex.c b/libcpp/lex.c index 7e2671ef026..c4dd6035c9b 100644 --- a/libcpp/lex.c +++ b/libcpp/lex.c @@ -1561,7 +1561,7 @@ lex_raw_string (cpp_reader *pfile, cpp_token *token, const uchar *base, extension by other front ends such as clang. */ if (ISALPHA (*cur)) { - // Raise a warning, but do not consume subsequent tokens. + /* Raise a warning, but do not consume subsequent tokens. */ if (CPP_OPTION (pfile, warn_literal_suffix)) cpp_warning_with_line (pfile, CPP_W_LITERAL_SUFFIX, token->src_loc, 0, @@ -1692,7 +1692,7 @@ lex_string (cpp_reader *pfile, cpp_token *token, const uchar *base) extension by other front ends such as clang. */ if (ISALPHA (*cur)) { - // Raise a warning, but do not consume subsequent tokens. + /* Raise a warning, but do not consume subsequent tokens. */ if (CPP_OPTION (pfile, warn_literal_suffix)) cpp_warning_with_line (pfile, CPP_W_LITERAL_SUFFIX, token->src_loc, 0, |