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
3fc786a4
Commit
3fc786a4
authored
Nov 21, 2000
by
Neil Booth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* do_includes: Revert to using cpp_read_file.
From-SVN: r37620
parent
847dde95
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
gcc/cppinit.c
+3
-8
No files found.
gcc/cppinit.c
View file @
3fc786a4
...
...
@@ -937,16 +937,11 @@ do_includes (pfile, p, scan)
{
while
(
p
)
{
cpp_token
header
;
struct
pending_option
*
q
;
header
.
type
=
CPP_STRING
;
header
.
val
.
str
.
text
=
(
unsigned
char
*
)
p
->
arg
;
header
.
val
.
str
.
len
=
strlen
(
p
->
arg
);
/* Use the #include "" search path. */
_cpp_execute_include
(
pfile
,
&
header
,
0
,
0
);
if
(
scan
)
/* Later: maybe update this to use the #include "" search path
if cpp_read_file fails. */
if
(
cpp_read_file
(
pfile
,
p
->
arg
)
&&
scan
)
cpp_scan_buffer_nooutput
(
pfile
);
q
=
p
->
next
;
free
(
p
);
...
...
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