xo-reader: refactor: simplify expect_formal_xs api
This commit is contained in:
parent
79c4b59a19
commit
a5e2f622a4
3 changed files with 11 additions and 3 deletions
|
|
@ -34,6 +34,11 @@ namespace xo {
|
|||
return std::make_unique<expect_formal_xs>(expect_formal_xs());
|
||||
}
|
||||
|
||||
void
|
||||
expect_formal_xs::start(exprstatestack * p_stack) {
|
||||
p_stack->push_exprstate(expect_formal_xs::make());
|
||||
}
|
||||
|
||||
expect_formal_xs::expect_formal_xs()
|
||||
: exprstate(exprstatetype::expect_formal)
|
||||
{}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue