diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-11-05 08:29:23 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-11-05 08:29:23 -0500 |
commit | e1fe312fe6511a895e2bd4dffee64c783e15ecff (patch) | |
tree | 73ce496cb4c0ddd32a0971b8ad988173dade3316 /gcc | |
parent | 10022ff7100f0aac71546fb0f3df9bd6ef54c78a (diff) | |
download | gcc-e1fe312fe6511a895e2bd4dffee64c783e15ecff.zip gcc-e1fe312fe6511a895e2bd4dffee64c783e15ecff.tar.gz gcc-e1fe312fe6511a895e2bd4dffee64c783e15ecff.tar.bz2 |
(rescan): Do not preserve newlines after macro name if rescanning a macro expansion.
(rescan): Do not preserve newlines after macro name
if rescanning a macro expansion. Instead, preserve them if
not outputting marks.
From-SVN: r8389
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cccp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3275,10 +3275,10 @@ startagain: /* This is now known to be a macro call. Discard the macro name from the output, along with any following whitespace just copied, - but preserve newlines at the top level since this + but preserve newlines if not outputting marks since this is more likely to do the right thing with line numbers. */ obp = op->buf + obufp_before_macroname; - if (ip->macro != 0) + if (output_marks) op->lineno = op_lineno_before_macroname; else { int newlines = op->lineno - op_lineno_before_macroname; |