------- Comment #3 from machata at post dot cz  2005-11-21 15:31 -------
Created an attachment (id=10311)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10311&action=view)
Allow comma only on second and further passes of declarator processing loop.

The patch addresses the problem by eating comma at the beginning of loop which
processes declarators, and only eating it when it's second or later pass.

Testcase is in patch, make check-g++ passed on i686-pc-linux-gnu.
I'll do bootstrap and more thorough test tomorrow, and send the patch to
gcc-patches then.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24907

Reply via email to