------- Comment #6 from jakub at gcc dot gnu dot org 2005-12-13 08:16 ------- Subject: Bug 24907
Author: jakub Date: Tue Dec 13 08:16:24 2005 New Revision: 108467 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108467 Log: 2005-12-13 Petr Machata <[EMAIL PROTECTED]> PR c++/24907 * parser.c (cp_parser_simple_declaration): Require comma at the beginning of processing second and later declarators, instead of allowing the comma at the end of each iteration. * g++.dg/parse/comma2.C: New test. Added: branches/gcc-4_1-branch/gcc/testsuite/g++.dg/parse/comma2.C Modified: branches/gcc-4_1-branch/gcc/cp/ChangeLog branches/gcc-4_1-branch/gcc/cp/parser.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24907