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

@ -40,6 +40,8 @@ namespace xo {
void push_envframe(const rp<LocalEnv> & x);
rp<LocalEnv> pop_envframe();
void reset_to_toplevel() { stack_.resize(1); }
/** relative to top-of-stack.
* 0 -> top (last in), z-1 -> bottom (first in)
**/