summaryrefslogtreecommitdiff
path: root/gcc/c-ppoutput.c
diff options
context:
space:
mode:
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-14 13:56:18 +0000
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-14 13:56:18 +0000
commit652b3139b887957087721b384b59b86e662b0a5c (patch)
tree9e8a30f653fe0373cc5de506dce8b7723a9a14e3 /gcc/c-ppoutput.c
parent76b8b4bff66a5ce879f508ec22820c550108cf71 (diff)
downloadgcc-652b3139b887957087721b384b59b86e662b0a5c.tar.gz
* c-ppoutput.c (cb_line_change): Revert 2003-08-04's change.
* c-lex.c (cb_line_change): Skip line changing whenever c-ppoutput.c would. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71381 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-ppoutput.c')
-rw-r--r--gcc/c-ppoutput.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-ppoutput.c b/gcc/c-ppoutput.c
index 68b45d2f517..9642f306cac 100644
--- a/gcc/c-ppoutput.c
+++ b/gcc/c-ppoutput.c
@@ -261,9 +261,9 @@ print_line (const struct line_map *map, unsigned int line, const char *special_f
of the line, and at end of file will be CPP_EOF. */
static void
cb_line_change (cpp_reader *pfile, const cpp_token *token,
- int parsing_args ATTRIBUTE_UNUSED)
+ int parsing_args)
{
- if (token->type == CPP_EOF)
+ if (token->type == CPP_EOF || parsing_args)
return;
maybe_print_line (print.map, token->line);