xo-reader2: bugfix: move toplevel ExprSeqState to parser stack

This commit is contained in:
Roland Conybeare 2026-02-16 11:08:21 -05:00
commit f48927a4be
3 changed files with 10 additions and 8 deletions

View file

@ -65,14 +65,14 @@ namespace xo {
void
SchematikaParser::begin_interactive_session()
{
DExprSeqState::establish_interactive(psm_.expr_alloc(), &psm_);
DExprSeqState::establish_interactive(psm_.parser_alloc(), &psm_);
}
void
SchematikaParser::begin_batch_session()
{
DExprSeqState::establish_batch(psm_.expr_alloc(), &psm_);
DExprSeqState::establish_batch(psm_.parser_alloc(), &psm_);
}
const ParserResult &