Added error messages for unrecognized tokens