PR c++/7679
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Oct 2002 18:38:23 +0000 (18:38 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Oct 2002 18:38:23 +0000 (18:38 +0000)
commit3d11cf7e7d77b4bb1b019552acf08a2f53dcaa51
treea026babb434289dd715599cb3c26a633d808ded5
parent83186412387d8eae88ba65d70b18b11407bb1152
PR c++/7679
* spew.c (next_token): Do not return an endless stream of
END_OF_SAVED_INPUT tokens.
(snarf_method): Add three END_OF_SAVED_INPUT tokens to the end of
the cached token stream.
(snarf_defarg): Likewise.

PR c++/7679
* g++.dg/parse/inline1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58465 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/spew.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/inline1.C [new file with mode: 0644]