Commit d0089985 by Jakub Jelinek Committed by Jakub Jelinek

cpplex.c (cpp_scan_buffer): Output line command even at the stop buffer, provided it is not NULL.

	* cpplex.c (cpp_scan_buffer): Output line command even at the stop
	buffer, provided it is not NULL.

From-SVN: r35123
parent 611a0be7
2000-07-18 Jakub Jelinek <jakub@redhat.com>
* cpplex.c (cpp_scan_buffer): Output line command even at the stop
buffer, provided it is not NULL.
2000-07-18 Alexandre Oliva <aoliva@redhat.com> 2000-07-18 Alexandre Oliva <aoliva@redhat.com>
* c-decl.c (duplicate_decls): Do not call make_var_volatile() in * c-decl.c (duplicate_decls): Do not call make_var_volatile() in
...@@ -5,8 +10,7 @@ ...@@ -5,8 +10,7 @@
2000-07-18 Jakub Jelinek <jakub@redhat.com> 2000-07-18 Jakub Jelinek <jakub@redhat.com>
* calls.c (store_arg): Return non-zero if sibcall_failure is * calls.c (store_arg): Return non-zero if sibcall_failure is desired.
desired.
(expand_call): Adjust caller. (expand_call): Adjust caller.
2000-07-17 Gabriel Dos Reis <gdr@codesourcery.com> 2000-07-17 Gabriel Dos Reis <gdr@codesourcery.com>
......
...@@ -454,10 +454,13 @@ cpp_scan_buffer (pfile, print) ...@@ -454,10 +454,13 @@ cpp_scan_buffer (pfile, print)
if (token->type == CPP_EOF) if (token->type == CPP_EOF)
{ {
cpp_pop_buffer (pfile); cpp_pop_buffer (pfile);
if (CPP_BUFFER (pfile))
cpp_output_tokens (pfile, print, CPP_BUF_LINE (CPP_BUFFER (pfile)));
if (CPP_BUFFER (pfile) == stop) if (CPP_BUFFER (pfile) == stop)
return; return;
cpp_output_tokens (pfile, print, CPP_BUF_LINE (CPP_BUFFER (pfile)));
prev = 0; prev = 0;
continue; continue;
} }
......
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