xo-parser: simplify: exprstate::on_def drop retval
This commit is contained in:
parent
909101cd8d
commit
129b5d9258
2 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue