Line numbers added, error tokens checked for errors