xo-reader: bugfix: init expect_formal_arglist_xs.farglxs_type

This commit is contained in:
Roland Conybeare 2024-08-18 11:02:21 -04:00
commit 8edbfcf21f
2 changed files with 2 additions and 2 deletions

View file

@ -71,7 +71,7 @@ namespace xo {
private:
/** parsing state-machine state **/
formalarglstatetype farglxs_type_;
formalarglstatetype farglxs_type_ = formalarglstatetype::argl_0;
/** populate with (parmaeter-name, parameter-type) list
* as they're encountered
**/

View file

@ -45,7 +45,7 @@ namespace xo {
**/
class expect_formal_xs : public exprstate {
public:
expect_formal_xs() = default;
expect_formal_xs();
static std::unique_ptr<expect_formal_xs> make();