xo-reader: rename+: exprstate.on_def() -> on_def_token() + token arg

This commit is contained in:
Roland Conybeare 2024-08-09 13:42:50 -04:00
commit 60a7ec1cd0
6 changed files with 17 additions and 11 deletions

View file

@ -73,7 +73,9 @@ namespace xo {
}
void
paren_xs::on_def(exprstatestack * /*p_stack*/) {
paren_xs::on_def_token(const token_type & /*tk*/,
exprstatestack * /*p_stack*/)
{
constexpr const char * c_self_name = "paren_xs::on_def";
throw std::runtime_error(tostr(c_self_name,