xo-reader: simplify f64 token handling

This commit is contained in:
Roland Conybeare 2024-08-09 20:28:58 -04:00
commit b8b9efd633
7 changed files with 40 additions and 36 deletions

View file

@ -425,12 +425,7 @@ namespace xo {
constexpr const char * self_name = "exprstate::on_f64";
if (!this->admits_f64())
{
this->illegal_input_error(self_name, tk);
}
assert(false);
this->illegal_input_error(self_name, tk);
}
void