Design a facility for the C++ parser to store
errors it encounters while parsing input (syntax
errors, symbol lookup errors, etc.).
Allow the user to specify how many errors can be
cached before the parsing should stop. Also keep
in mind unit tests (with expected errors) as an
important use case. |