xo-reader: + formal arglist error reporting

This commit is contained in:
Roland Conybeare 2025-07-20 00:21:22 -05:00
commit 0f456fefcf
2 changed files with 21 additions and 1 deletions

View file

@ -16,7 +16,7 @@ namespace xo {
* ^ ^ ^ ^ ^
* | | | | |
* | | | | argl_1b
* | argl_1a | argla
* | argl_1a | argl_1a
* argl_0 argl_1b
*
* argl_0 --on_leftparen_token()--> argl_1a
@ -55,6 +55,8 @@ namespace xo {
static void start(parserstatemachine * p_psm);
virtual const char * get_expect_str() const override;
virtual void on_leftparen_token(const token_type & tk,
parserstatemachine * p_psm) override;
virtual void on_formal(const rp<Variable> & formal,