Improve error reporting when parsing or printing fails
* When an unexpected token is encountered, add the string representation of the token to the exception * When printing of a sequent / formula / term fails, try to identify the smallest structure on which the printing fails by attempting to print all subformulas and subterms. Report that printing failed on the smallest structure rather than on the whole sequent / formula / term.
Loading
Please register or sign in to comment