xo-reader: uncopy: with + exprstate.illegal_input_error()

This commit is contained in:
Roland Conybeare 2024-08-09 13:57:42 -04:00
commit 74099cacab
5 changed files with 61 additions and 81 deletions

View file

@ -156,6 +156,13 @@ namespace xo {
exprstatestack * p_stack,
rp<Expression> * p_emit_expr);
protected:
/** throw exception when next token is inconsistent with
* parsing state
**/
void illegal_input_error(const char * self_name,
const token_type & tk) const;
protected:
/** explicit subtype: identifies derived class **/
exprstatetype exs_type_;