xo-parser: simplify: exprstate::on_def drop retval

This commit is contained in:
Roland Conybeare 2024-08-01 13:08:54 +10:00
commit 129b5d9258
2 changed files with 2 additions and 3 deletions

View file

@ -245,7 +245,7 @@ namespace xo {
}
}
expraction
void
exprstate::on_def(exprstatestack * p_stack) {
constexpr bool c_debug_flag = true;
scope log(XO_DEBUG(c_debug_flag));
@ -270,7 +270,6 @@ namespace xo {
* def pi : f64 = 3.14159265
* def sq(x : f64) -> f64 { (x * x) }
*/
return expraction::keep();
}
expraction