xo-reader: bugfix: lambda_xs: supply exprstate.exs_type
This commit is contained in:
parent
8a633a4f94
commit
e9289e855e
2 changed files with 2 additions and 2 deletions
|
|
@ -57,7 +57,7 @@ namespace xo {
|
|||
|
||||
private:
|
||||
/** parsing state-machine state **/
|
||||
lambdastatetype lmxs_type_;
|
||||
lambdastatetype lmxs_type_ = lambdastatetype::lm_0;
|
||||
|
||||
/** formal parameter list **/
|
||||
std::vector<rp<Variable>> argl_;
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ namespace xo {
|
|||
return std::make_unique<lambda_xs>(lambda_xs());
|
||||
}
|
||||
|
||||
lambda_xs::lambda_xs() {}
|
||||
lambda_xs::lambda_xs() : exprstate(exprstatetype::lambdaexpr) {}
|
||||
|
||||
void
|
||||
lambda_xs::on_lambda_token(const token_type & tk,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue