xo-reader: + on_expr_with_semicolon() [wip, utest not passing]
This commit is contained in:
parent
ac4ee7d6b8
commit
bc30b34bc2
11 changed files with 88 additions and 2 deletions
|
|
@ -215,7 +215,7 @@ namespace xo {
|
|||
}
|
||||
|
||||
void
|
||||
progress_xs::on_semicolon_token(const token_type & tk,
|
||||
progress_xs::on_semicolon_token(const token_type & /*tk*/,
|
||||
parserstatemachine * p_psm)
|
||||
{
|
||||
/* note: implementation parllels .on_rightparen_token() */
|
||||
|
|
@ -227,7 +227,7 @@ namespace xo {
|
|||
|
||||
std::unique_ptr<exprstate> self = p_psm->pop_exprstate();
|
||||
|
||||
p_psm->top_exprstate().on_expr(expr, p_psm);
|
||||
p_psm->on_expr_with_semicolon(expr);
|
||||
|
||||
/* control here on input like:
|
||||
* (1.234;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue