xo-reader: refactor: simplify progress_xs api

This commit is contained in:
Roland Conybeare 2024-08-19 00:06:34 -04:00
commit 6d73caf308
4 changed files with 23 additions and 6 deletions

View file

@ -110,9 +110,9 @@ namespace xo {
* def pi = 3.14159265;
* \---tk---/
*/
p_stack->push_exprstate
(progress_xs::make
(Constant<double>::make(tk.f64_value())));
progress_xs::start
(Constant<double>::make(tk.f64_value()),
p_stack);
}
void