reader reports tokenizer errors through normal return

This commit is contained in:
Roland Conybeare 2025-07-19 16:47:59 -05:00
commit 8c36bbce28
14 changed files with 174 additions and 30 deletions

View file

@ -20,6 +20,11 @@ namespace xo {
return *(stack_[z-1]);
}
void
exprstatestack::reset_to_toplevel() {
this->stack_.resize(1);
}
void
exprstatestack::push_exprstate(std::unique_ptr<exprstate> exs) {
constexpr bool c_debug_flag = true;