Merge branch 'claude1' of github.com:rconybea/xo-umbrella2 into claude1

This commit is contained in:
Roland Conybeare 2026-03-25 18:01:06 -04:00
commit d76622640e
2 changed files with 26 additions and 0 deletions

View file

@ -9,6 +9,14 @@ namespace xo {
using xo::mm::MemorySizeInfo;
namespace scm {
void
ReaderResult::forward_children(obj<ACollector> gc) noexcept
{
gc.forward_pivot_inplace(&expr_);
}
// ----- SchematikaReader -----
SchematikaReader::SchematikaReader(const ReaderConfig & config,
obj<AAllocator> expr_alloc,
obj<AAllocator> aux_alloc)
@ -198,6 +206,16 @@ namespace xo {
this->tokenizer_.discard_current_line();
this->parser_.reset_to_idle_toplevel();
}
void
SchematikaReader::forward_children(obj<ACollector> gc) noexcept
{
// tokenizer doesn't contain any gc-aware pointers.
parser_.forward_children(gc);
result_.forward_children(gc);
}
} /*namespace scm*/
} /*namespace xo*/