xo-reader2: corrections to toplevel SchematikaParser setup
This commit is contained in:
parent
6e2a2bbcd0
commit
846071a4fb
8 changed files with 95 additions and 35 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