libcpp:
commit4e8832f33d8484eadac7687afac102d71def6d2d
authoremsr <emsr@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 29 Jun 2013 03:41:58 +0000 (29 03:41 +0000)
committeremsr <emsr@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 29 Jun 2013 03:41:58 +0000 (29 03:41 +0000)
tree30b4ba2a69beb74bae477e5c0f92613b0eee4ae5
parent90535e971b72cdc094c20d3625fb5d1527a07c17
libcpp:

2013-06-28  Ed Smith-Rowland  <3dw4rd@verizon.net>

* lex.c (lex_raw_string(), lex_string()): Constrain suffixes treated
as concatenated literal and macro to just the patterns found in
inttypes.h; (is_macro()): New.

gcc/cp:

2013-06-28  Ed Smith-Rowland  <3dw4rd@verizon.net>

* cp-tree.h (UDLIT_OP_ANSI_PREFIX): Remove space.
* parser.c (cp_parser_operator()): Parse user-defined string
literal as literal operator.

gcc/testsuite:

2013-06-28  Ed Smith-Rowland  <3dw4rd@verizon.net>

* g++.dg/cpp0x/udlit-nospace-neg.C: Adjust.
* g++.dg/cpp1y/udlit-enc-prefix-neg.C: New.
* g++.dg/cpp1y/udlit-userdef-string.C: New.
* g++.dg/cpp1y/complex_literals.h: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200563 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/udlit-nospace-neg.C
gcc/testsuite/g++.dg/cpp1y/complex_literals.h [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp1y/udlit-enc-prefix-neg.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp1y/udlit-userdef-string.C [new file with mode: 0644]
libcpp/ChangeLog
libcpp/lex.c