Better error handling (in the readline parser)