OSDN Git Service

PR preprocessor/28709
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Oct 2006 09:25:59 +0000 (09:25 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Oct 2006 09:25:59 +0000 (09:25 +0000)
commit46139d3fd31ce13b3aff9c67148fb44272943557
tree8c96d7cea97a044e3c22146d563038821cbac200
parentacc511204707c088af1dfaa7427c0626df9712d2
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117664 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/paste14.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/macro.c