alexander-c-b / AsciiMath

Compiler from asciimath to LaTeX
MIT License
0 stars 0 forks source link

Add error type for parsing error #32

Closed alexander-c-b closed 3 years ago

alexander-c-b commented 3 years ago

Currently the parser emits a LexicalError, which makes error message confusing when the actual problem occured during parsing. This error type should be extended to specify lexical errors or parsing errors, while keeping other information the same.