Commit b2734c68 by Alexandre Oliva Committed by Alexandre Oliva

c-ppoutput.c (cb_line_change): Don't skip line changing while parsing macro…

c-ppoutput.c (cb_line_change): Don't skip line changing while parsing macro arguments in the top-level context.

* c-ppoutput.c (cb_line_change): Don't skip line changing while
parsing macro arguments in the top-level context.

From-SVN: r70148
parent b5d72eda
2003-08-04 Alexandre Oliva <aoliva@redhat.com>
* c-ppoutput.c (cb_line_change): Don't skip line changing while
parsing macro arguments in the top-level context.
2003-08-04 Neil Booth <neil@daikokuya.co.uk> 2003-08-04 Neil Booth <neil@daikokuya.co.uk>
* config.in: Remove HAVE_LSTAT. * config.in: Remove HAVE_LSTAT.
......
...@@ -260,9 +260,10 @@ print_line (const struct line_map *map, unsigned int line, const char *special_f ...@@ -260,9 +260,10 @@ print_line (const struct line_map *map, unsigned int line, const char *special_f
/* Called when a line of output is started. TOKEN is the first token /* Called when a line of output is started. TOKEN is the first token
of the line, and at end of file will be CPP_EOF. */ of the line, and at end of file will be CPP_EOF. */
static void static void
cb_line_change (cpp_reader *pfile, const cpp_token *token, int parsing_args) cb_line_change (cpp_reader *pfile, const cpp_token *token,
int parsing_args ATTRIBUTE_UNUSED)
{ {
if (token->type == CPP_EOF || parsing_args) if (token->type == CPP_EOF)
return; return;
maybe_print_line (print.map, token->line); maybe_print_line (print.map, token->line);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment