re PR c++/50563 ([C++0x] Weird syntax acceptance rules for non-static data members...
authorJason Merrill <jason@redhat.com>
Fri, 14 Oct 2011 19:12:57 +0000 (15:12 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 14 Oct 2011 19:12:57 +0000 (15:12 -0400)
commit7204877f43b9e70fbb357d26c43c3d26c5fbbc41
tree6542094f1b586ed5ac897e344e5c00cfa331c050
parent37d8632b512e4b4b04aea3f951f52af8bd440bfe
re PR c++/50563 ([C++0x] Weird syntax acceptance rules for non-static data members initialized in place)

PR c++/50563
* parser.c (cp_parser_cache_group): Handle end==CPP_COMMA.
(cp_parser_save_nsdmi): Pass it.

From-SVN: r180003
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/nsdmi-list1.C [new file with mode: 0644]