Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
3f4f5c9a
Commit
3f4f5c9a
authored
Aug 19, 2014
by
Marek Polacek
Committed by
Marek Polacek
Aug 19, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lex.c (_cpp_lex_direct): Fix a typo.
From-SVN: r214166
parent
68975683
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
libcpp/ChangeLog
+4
-0
libcpp/lex.c
+1
-1
No files found.
libcpp/ChangeLog
View file @
3f4f5c9a
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.
...
...
libcpp/lex.c
View file @
3f4f5c9a
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment