]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/ChangeLog
re PR preprocessor/57757 (CPP extra inserted whitespace needs to be reviewed for...
authorJakub Jelinek <jakub@redhat.com>
Wed, 10 Jul 2013 16:40:49 +0000 (18:40 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 10 Jul 2013 16:40:49 +0000 (18:40 +0200)
commit87e356bada28a71fd101dce4512564ff6cb8fb15
tree0fc3c50dd67f106705eddd814b4b2176bee125ff
parentbb6f2bacbb0d7133a1187bb394d5713b98a54942
re PR preprocessor/57757 (CPP extra inserted whitespace needs to be reviewed for C++11 user-defined literals)

PR preprocessor/57757
* lex.c (cpp_avoid_paste): Avoid pasting CPP_{,W,UTF8}STRING
or CPP_STRING{16,32} with CPP_NAME or SPELL_LITERAL token that
starts if a-zA-Z_.

* g++.dg/cpp/paste1.C: New test.
* g++.dg/cpp/paste2.C: New test.

From-SVN: r200875
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp/paste1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp/paste2.C [new file with mode: 0644]
libcpp/ChangeLog
libcpp/lex.c