Skip to content
Snippets Groups Projects
Commit 6d328225 authored by Petr Machata's avatar Petr Machata Committed by Jakub Jelinek
Browse files

re PR c++/24907 ("int x, ;" accepted)

2005-12-13  Petr Machata  <machata@post.cz>

	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.

From-SVN: r108462
parent 7e825da0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment