xo-reader: parsestatemachine.top_exprstate() + use to simplify
This commit is contained in:
parent
4232da4ef2
commit
b988bc6790
11 changed files with 22 additions and 49 deletions
|
|
@ -26,6 +26,7 @@ namespace xo {
|
|||
: p_stack_{p_stack}, p_emit_expr_{p_emit_expr} {}
|
||||
|
||||
std::unique_ptr<exprstate> pop_exprstate();
|
||||
exprstate & top_exprstate();
|
||||
|
||||
public:
|
||||
exprstatestack * p_stack_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue