xo-reader: wip: add environment-frame stack to psm [not used]
This commit is contained in:
parent
94109c93b7
commit
3b57a1f142
2 changed files with 13 additions and 2 deletions
|
|
@ -33,6 +33,7 @@ namespace xo {
|
|||
parser::begin_translation_unit() {
|
||||
/* note: not using emit expr here */
|
||||
parserstatemachine psm(&xs_stack_,
|
||||
&env_stack_,
|
||||
nullptr /*p_emit_expr*/);
|
||||
|
||||
exprseq_xs::start(&psm);
|
||||
|
|
@ -55,7 +56,7 @@ namespace xo {
|
|||
|
||||
rp<Expression> retval;
|
||||
|
||||
parserstatemachine psm(&xs_stack_, &retval);
|
||||
parserstatemachine psm(&xs_stack_, &env_stack_, &retval);
|
||||
|
||||
xs_stack_.top_exprstate().on_input(tk, &psm);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue