In the Quartus® II software may generate this error when you declare multiple loop variables within a SystemVerilog FOR loop, because this syntax is currently unsupported.
The following is an example of unsupported syntax: for(int i=0, int j=0; i<4, j<2; i , j )
To work around this problem, declare only one loop variable within the FOR loop.
Use the following supported syntax to work around this problem: int j=0;
for(int i=0, j=0; i<4, j<2; i , j )
This problem is scheduled to be fixed in a future release of the Quartus II software.