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
1641a823
Commit
1641a823
authored
Oct 29, 2000
by
Neil Booth
Committed by
Neil Booth
Oct 29, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cpplib.c (skip_rest_of_line): Use _cpp_get_token.
From-SVN: r37135
parent
5e53dba6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/ChangeLog
+4
-0
gcc/cpplib.c
+2
-2
No files found.
gcc/ChangeLog
View file @
1641a823
2000-10-29 Neil Booth <neilb@earthling.net>
* cpplib.c (skip_rest_of_line): Use _cpp_get_token.
2000-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
* toplev.c, flags.h, fold-const.c, real.c, rtl.c,
...
...
gcc/cpplib.c
View file @
1641a823
...
...
@@ -188,10 +188,10 @@ skip_rest_of_line (pfile)
/* Sweep up all tokens remaining on the line. We need to read
tokens from lookahead, but cannot just drop the lookahead buffers
because they may be saving tokens prior to this directive for an
external client. So we use cpp_get_token, with macros disabled. */
external client. So we use
_
cpp_get_token, with macros disabled. */
pfile
->
state
.
prevent_expansion
++
;
while
(
!
pfile
->
state
.
skip_newlines
)
_cpp_
lex
_token
(
pfile
,
&
token
);
_cpp_
get
_token
(
pfile
,
&
token
);
pfile
->
state
.
prevent_expansion
--
;
}
...
...
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