Checks that a token is followed by whitespace, with the exception that it does not check for whitespace after the semicolon of an empty for iterator.