xo-reader2: corrections to toplevel SchematikaParser setup
This commit is contained in:
parent
0aa1692f8c
commit
a8eb35bd1a
7 changed files with 93 additions and 34 deletions
|
|
@ -28,8 +28,9 @@ namespace xo {
|
|||
/** create new top of stack for syntax @p ssm, using memory from @p mm.
|
||||
* previous stack given by @p parent
|
||||
**/
|
||||
ParserStack * push(obj<AAllocator> mm,
|
||||
obj<ASyntaxStateMachine> ssm);
|
||||
static ParserStack * push(ParserStack * stack,
|
||||
obj<AAllocator> mm,
|
||||
obj<ASyntaxStateMachine> ssm);
|
||||
|
||||
obj<ASyntaxStateMachine> top() const noexcept { return ssm_; }
|
||||
ParserStack * parent() const noexcept { return parent_; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue