xo-reader: refactor: simplify exprseq_xs api
This commit is contained in:
parent
9a42f02f0c
commit
bd8f093a00
3 changed files with 11 additions and 4 deletions
|
|
@ -30,8 +30,7 @@ namespace xo {
|
|||
|
||||
void
|
||||
parser::begin_translation_unit() {
|
||||
xs_stack_.push_exprstate
|
||||
(exprseq_xs::expect_toplevel_expression_sequence());
|
||||
exprseq_xs::start(&xs_stack_);
|
||||
}
|
||||
|
||||
rp<Expression>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue