cpplex.c (ON_REST_ARG): Correct the test.
authorNeil Booth <neilb@earthling.net>
Fri, 15 Sep 2000 05:55:36 +0000 (05:55 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Fri, 15 Sep 2000 05:55:36 +0000 (05:55 +0000)
commitff94c747653bba7f146f1f8304286d82f17d8ae9
tree46b2b60f181bbf21ca0786fa960ec2f8d89df671
parentb437f1a754649a06bd783fc707b5bff14c9c5eed
cpplex.c (ON_REST_ARG): Correct the test.

* cpplex.c (ON_REST_ARG): Correct the test.
(maybe_paste_with_next): Duplicate a token that fail pasting,
and clear its PASTE_LEFT flag, so that nested pasting attempts
do not occur.
* gcc.dg/cpp/paste10.c: Testcase.

From-SVN: r36424
gcc/ChangeLog
gcc/cpplex.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/paste10.c [new file with mode: 0644]