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
62fce11f
Commit
62fce11f
authored
Apr 06, 2001
by
Neil Booth
Committed by
Neil Booth
Apr 06, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cpplib.c (cpp_push_buffer): Give stdin buffers the name <stdin>.
From-SVN: r41166
parent
2d9fea5d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
+8
-1
gcc/ChangeLog
+4
-0
gcc/cpplib.c
+4
-1
No files found.
gcc/ChangeLog
View file @
62fce11f
2001
-
04
-
06
Neil
Booth
<
neil
@daikokuya
.
demon
.
co
.
uk
>
2001
-
04
-
06
Neil
Booth
<
neil
@daikokuya
.
demon
.
co
.
uk
>
*
cpplib
.
c
(
cpp_push_buffer
)
:
Give
stdin
buffers
the
name
<
stdin
>
.
2001
-
04
-
06
Neil
Booth
<
neil
@daikokuya
.
demon
.
co
.
uk
>
*
configure
.
in
:
Add
check
for
lstat
.
*
configure
.
in
:
Add
check
for
lstat
.
*
configure
,
config
.
in
:
Regenerate
.
*
configure
,
config
.
in
:
Regenerate
.
*
cppinit
.
c
(
append_include_chain
)
:
Make
empty
path
"."
.
*
cppinit
.
c
(
append_include_chain
)
:
Make
empty
path
"."
.
...
...
gcc/cpplib.c
View file @
62fce11f
...
@@ -1812,7 +1812,10 @@ cpp_push_buffer (pfile, buffer, len, type, filename)
...
@@ -1812,7 +1812,10 @@ cpp_push_buffer (pfile, buffer, len, type, filename)
pfile
->
lexer_pos
.
output_line
=
1
;
pfile
->
lexer_pos
.
output_line
=
1
;
}
}
new
->
nominal_fname
=
filename
;
if
(
*
filename
==
'\0'
)
new
->
nominal_fname
=
_
(
"<stdin>"
);
else
new
->
nominal_fname
=
filename
;
new
->
type
=
type
;
new
->
type
=
type
;
new
->
prev
=
pfile
->
buffer
;
new
->
prev
=
pfile
->
buffer
;
new
->
pfile
=
pfile
;
new
->
pfile
=
pfile
;
...
...
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