xo-reader: streamline exprseq_xs.start() using psm
This commit is contained in:
parent
f5a309d611
commit
c8f166acc8
3 changed files with 8 additions and 4 deletions
|
|
@ -31,7 +31,11 @@ namespace xo {
|
|||
|
||||
void
|
||||
parser::begin_translation_unit() {
|
||||
exprseq_xs::start(&xs_stack_);
|
||||
/* note: not using emit expr here */
|
||||
parserstatemachine psm(&xs_stack_,
|
||||
nullptr /*p_emit_expr*/);
|
||||
|
||||
exprseq_xs::start(&psm);
|
||||
}
|
||||
|
||||
rp<Expression>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue