improve error handling in lisp parser