xo-reader: streamline: + parserstatemachine::pop_exprstate() + use
This commit is contained in:
parent
bcb2af4a56
commit
4232da4ef2
12 changed files with 36 additions and 14 deletions
|
|
@ -91,7 +91,7 @@ namespace xo {
|
|||
#endif
|
||||
|
||||
#ifdef LATER
|
||||
p_stack->pop_exprstate();
|
||||
p_psm->pop_exprstate();
|
||||
p_stack->top_exprstate().on_symbol(tk.text(),
|
||||
p_stack, p_emit_expr);
|
||||
#endif
|
||||
|
|
@ -129,7 +129,7 @@ namespace xo {
|
|||
|
||||
auto p_stack = p_psm->p_stack_;
|
||||
|
||||
std::unique_ptr<exprstate> self = p_stack->pop_exprstate();
|
||||
std::unique_ptr<exprstate> self = p_psm->pop_exprstate();
|
||||
|
||||
p_stack->top_exprstate().on_expr(expr, p_psm);
|
||||
} /*on_expr*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue