]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/ChangeLog
re PR preprocessor/28709 (Bad diagnostic pasting tokens with ##)
authorJakub Jelinek <jakub@redhat.com>
Thu, 12 Oct 2006 09:25:59 +0000 (11:25 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 12 Oct 2006 09:25:59 +0000 (11:25 +0200)
commitde000d222aa7f081441b9d48eddff9301fc3d8b2
tree8c96d7cea97a044e3c22146d563038821cbac200
parent1e96b1c34fc5653ab1cd75b8e19034f5f56a1f84
re PR preprocessor/28709 (Bad diagnostic pasting tokens with ##)

PR preprocessor/28709
* macro.c (paste_tokens): Do error reporting here, use BUF with the
spelled LHS token as opposed to spelling it again.
(paste_all_tokens): Don't report errors here, just break on failure.

* gcc.dg/cpp/paste14.c: New test.

From-SVN: r117664
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/paste14.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/macro.c