[Prev][Next][Index]

multiple initializers in for-stmt




The pc++ parser complains about the following legal statement:

	for ( int i = 1, j = 2 ; i < 3 ; i++, j++ )
	  ;

Specifically, it seems to object to multiple initializers, since it is
happy with one. [The error message is 'parse error'.]

--lars