xo-reader: + formal arglist error reporting
This commit is contained in:
parent
0af5b076a7
commit
0f456fefcf
2 changed files with 21 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue