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
0e500c78
Commit
0e500c78
authored
Jun 28, 2000
by
Jakub Jelinek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Back it out temporarily.
From-SVN: r34767
parent
9d1d9b4f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
16 deletions
+15
-16
gcc/cpplex.c
+15
-16
No files found.
gcc/cpplex.c
View file @
0e500c78
...
@@ -289,26 +289,25 @@ output_line_command (pfile, print, line)
...
@@ -289,26 +289,25 @@ output_line_command (pfile, print, line)
if
(
CPP_OPTION
(
pfile
,
no_line_commands
))
if
(
CPP_OPTION
(
pfile
,
no_line_commands
))
return
;
return
;
if
(
pfile
->
buffer_stack_depth
==
print
->
last_bsd
)
/* Determine whether the current filename has changed, and if so,
{
how. 'nominal_fname' values are unique, so they can be compared
/* Determine whether the current filename has changed, and if so,
by comparing pointers. */
how. 'nominal_fname' values are unique, so they can be compared
if
(
ip
->
nominal_fname
==
print
->
last_fname
)
by comparing pointers. */
change
=
same
;
if
(
ip
->
nominal_fname
==
print
->
last_fname
)
change
=
same
;
else
change
=
rname
;
}
else
else
{
{
if
(
pfile
->
buffer_stack_depth
>
print
->
last_bsd
)
if
(
pfile
->
buffer_stack_depth
==
print
->
last_bsd
)
change
=
enter
;
change
=
rname
;
else
else
change
=
leave
;
{
print
->
last_bsd
=
pfile
->
buffer_stack_depth
;
if
(
pfile
->
buffer_stack_depth
>
print
->
last_bsd
)
change
=
enter
;
else
change
=
leave
;
print
->
last_bsd
=
pfile
->
buffer_stack_depth
;
}
print
->
last_fname
=
ip
->
nominal_fname
;
}
}
print
->
last_fname
=
ip
->
nominal_fname
;
/* If the current file has not changed, we can output a few newlines
/* If the current file has not changed, we can output a few newlines
instead if we want to increase the line number by a small amount.
instead if we want to increase the line number by a small amount.
We cannot do this if print->lineno is zero, because that means we
We cannot do this if print->lineno is zero, because that means we
...
...
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