summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-28 20:49:05 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-28 20:49:05 +0000
commitd89e280776b07525d69a544f246fe4323cc19e5a (patch)
tree430c0ff394549abd2cc6f2a8d6f15563e546bab7
parentff8a514c354926f4ebeb6af6a12ed6eafc614555 (diff)
downloadppe42-gcc-d89e280776b07525d69a544f246fe4323cc19e5a.tar.gz
ppe42-gcc-d89e280776b07525d69a544f246fe4323cc19e5a.zip
Back it out temporarily.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34767 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/cpplex.c31
1 files changed, 15 insertions, 16 deletions
diff --git a/gcc/cpplex.c b/gcc/cpplex.c
index 6249fd7635c..b7f6da5181b 100644
--- a/gcc/cpplex.c
+++ b/gcc/cpplex.c
@@ -289,26 +289,25 @@ output_line_command (pfile, print, line)
if (CPP_OPTION (pfile, no_line_commands))
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
- by comparing pointers. */
- if (ip->nominal_fname == print->last_fname)
- change = same;
- else
- change = rname;
- }
+ /* Determine whether the current filename has changed, and if so,
+ how. 'nominal_fname' values are unique, so they can be compared
+ by comparing pointers. */
+ if (ip->nominal_fname == print->last_fname)
+ change = same;
else
{
- if (pfile->buffer_stack_depth > print->last_bsd)
- change = enter;
+ if (pfile->buffer_stack_depth == print->last_bsd)
+ change = rname;
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
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
OpenPOWER on IntegriCloud