2006-07-08

parse error at end of input

I got that error out of gcc 3.3.4 when I forgot a parentheses:


for (unsigned i = 0; i < troops.size(); i++) {
if (troops[i]->active) { troops[i]->update(timestep);
}


It gives the last line in the file as the line number, so it's not an easy one to track down.

No comments: