xo-reader: simplify f64 token handling
This commit is contained in:
parent
5a4923e5cf
commit
b8b9efd633
7 changed files with 40 additions and 36 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue