From 4b55dfac182d24cee639301e0fc83e95dfdee224 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sat, 5 Dec 2020 17:14:57 +0100 Subject: [PATCH] :art: More time ops --- src/lib/prim.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/prim.c b/src/lib/prim.c index 947dc1bf..87c738fd 100644 --- a/src/lib/prim.c +++ b/src/lib/prim.c @@ -248,6 +248,8 @@ static GWION_IMPORT(time) { CHECK_FF("=>", rassign, r_assign) GWI_BB(gwi_oper_ini(gwi, "time", "dur", "time")) GWI_BB(gwi_oper_end(gwi, "+", FloatPlus)) + GWI_BB(gwi_oper_end(gwi, "*", FloatTimes)) + GWI_BB(gwi_oper_end(gwi, "/", FloatDivide)) GWI_BB(gwi_oper_ini(gwi, "time", "time", "dur")) GWI_BB(gwi_oper_end(gwi, "-", FloatMinus)) GWI_BB(gwi_oper_ini(gwi, "dur", "time", "time")) -- 2.43.0