xo-reader2: bugfix: move toplevel ExprSeqState to parser stack
This commit is contained in:
parent
8a4f1db08d
commit
5224799479
3 changed files with 10 additions and 8 deletions
|
|
@ -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 &
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue