xo-reader: simplify expect_formal_xs, expect_symbol_xs

This commit is contained in:
Roland Conybeare 2024-08-19 16:42:52 -04:00
commit 96c0bea2f5
6 changed files with 10 additions and 14 deletions

View file

@ -47,7 +47,7 @@ namespace xo {
public:
expect_formal_xs();
static void start(exprstatestack * p_stack);
static void start(parserstatemachine * p_psm);
virtual void on_symbol(const std::string & symbol_name,
parserstatemachine * p_psm) override;

View file

@ -20,7 +20,7 @@ namespace xo {
static std::unique_ptr<expect_symbol_xs> make();
static void start(exprstatestack * p_stack);
static void start(parserstatemachine * p_psm);
virtual void on_symbol_token(const token_type & tk,
parserstatemachine * p_psm) override;