diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-28 21:34:30 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-28 21:34:30 +0000 |
commit | 2a5f4561993a3a55ba794cbfac67ce1b6e4458d3 (patch) | |
tree | b95d79c17bb443cf45f6a1d401cede6a20cc135b /gcc/cppmacro.c | |
parent | dd193d7c5e89b30310ed9f150baf494d4b164317 (diff) | |
download | gcc-2a5f4561993a3a55ba794cbfac67ce1b6e4458d3.tar.gz |
* cppmacro.c (cpp_scan_buffer_nooutput): Take a boolean
indicating whether to scan all buffers on the stack or
just one.
* cppinit.c (do_includes): Update.
* cppmain.c (main): Update.
* cpplib.h: Update prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37829 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppmacro.c')
-rw-r--r-- | gcc/cppmacro.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/cppmacro.c b/gcc/cppmacro.c index f9291bcdc40..637e5e95536 100644 --- a/gcc/cppmacro.c +++ b/gcc/cppmacro.c @@ -990,11 +990,12 @@ cpp_get_token (pfile, token) /* Read each token in, until EOF. Directives are transparently processed. */ void -cpp_scan_buffer_nooutput (pfile) +cpp_scan_buffer_nooutput (pfile, all_buffers) cpp_reader *pfile; + int all_buffers; { - cpp_buffer *buffer = pfile->buffer->prev; cpp_token token; + cpp_buffer *buffer = all_buffers ? 0: pfile->buffer->prev; do do |