Fixed incomplete for loop error messages

These error messages are more descriptive for situations where a user
enters something like:
for()