reader reports tokenizer errors through normal return

This commit is contained in:
Roland Conybeare 2025-07-19 16:47:59 -05:00
commit 781adeb0d3
10 changed files with 149 additions and 20 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;