xo-reader2: fix clearing result in SchematikaReader
This commit is contained in:
parent
e94ec86c03
commit
b7a813ec07
4 changed files with 33 additions and 0 deletions
|
|
@ -56,6 +56,9 @@ namespace xo {
|
|||
/** consume input @p input_cstr **/
|
||||
const ReaderResult & read_expr(span_type input_span, bool eof);
|
||||
|
||||
/** reset @ref result_ to nominal value **/
|
||||
void reset_result();
|
||||
|
||||
/** reset to known starting point after encountering an error.
|
||||
* - remainder of stashed current line.
|
||||
* Necesary for well-formatted error reporting.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue