xo-reader2: bugfix: move toplevel ExprSeqState to parser stack
This commit is contained in:
parent
02b33d13be
commit
f48927a4be
3 changed files with 10 additions and 8 deletions
|
|
@ -41,16 +41,17 @@ namespace xo {
|
|||
using Super = DSyntaxStateMachine<DExprSeqState>;
|
||||
using TypeDescr = xo::reflect::TypeDescr;
|
||||
using AAllocator = xo::mm::AAllocator;
|
||||
using DArena = xo::mm::DArena;
|
||||
using ppindentinfo = xo::print::ppindentinfo;
|
||||
|
||||
public:
|
||||
explicit DExprSeqState(exprseqtype ty);
|
||||
|
||||
/** start interactive top-level session **/
|
||||
static void establish_interactive(obj<AAllocator> mm,
|
||||
static void establish_interactive(DArena & mm,
|
||||
ParserStateMachine * p_psm);
|
||||
/** start non-interactive top-level session **/
|
||||
static void establish_batch(obj<AAllocator> mm,
|
||||
static void establish_batch(DArena & mm,
|
||||
ParserStateMachine * p_psm);
|
||||
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue