mirror of
https://github.com/openRuyi-Project/gcc.git
synced 2026-10-03 23:48:37 +00:00
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
This commit is contained in:
committed by
Jakub Jelinek
parent
bb6f2bacbb
commit
87e356bada
@@ -1,3 +1,10 @@
|
||||
2013-07-10 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
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_.
|
||||
|
||||
2013-06-28 Ed Smith-Rowland <3dw4rd@verizon.net>
|
||||
|
||||
* lex.c (lex_raw_string(), lex_string()): Constrain suffixes treated
|
||||
|
||||
Reference in New Issue
Block a user