Could Arduino make the error checker actually tell the correct line the error is in, instead of ((the line the error is in) - 1)???
The error that the line is on is often hard to tell. If there is a syntax error or some missing closing delimiter, the next line is the one that causes the error.