purr
purr copied to clipboard
read::Error should report expected characters
A syntax error should report the expected characters at the reported cursor position. This helps clarify the context of the SMILES error so that it can be corrected. Alternatively, it makes clear where the error in the parser lies.