dfintha / exprparser

Very basic expression parser written in C++.
0 stars 0 forks source link

Propagate errors from the parser function to `expr::parse()` #5

Open dfintha opened 3 months ago

dfintha commented 3 months ago

Currently, we return a generic error code if the resulting expr::node_ptr is nullptr. This should be improved upon, the very first error during parsing should be propagated to the expr::parse() function, and parsing should be stopped.