From: Jérémie Astor Date: Tue, 30 Jun 2020 21:11:57 +0000 (+0200) Subject: :bug: Fix fptr operators X-Git-Tag: nightly~1462 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=9359f1a1d74d9c7b3880397b8537b387c3c670fa;p=gwion.git :bug: Fix fptr operators --- diff --git a/src/lib/func.c b/src/lib/func.c index 3d26ee1f..258a7672 100644 --- a/src/lib/func.c +++ b/src/lib/func.c @@ -322,6 +322,12 @@ GWION_IMPORT(func) { GWI_BB(gwi_oper_add(gwi, opck_fptr_at)) GWI_BB(gwi_oper_emi(gwi, opem_func_assign)) GWI_BB(gwi_oper_end(gwi, "@=>", NULL)) + GWI_BB(gwi_oper_add(gwi, opck_fptr_cast)) + GWI_BB(gwi_oper_emi(gwi, opem_fptr_cast)) + GWI_BB(gwi_oper_end(gwi, "$", NULL)) + GWI_BB(gwi_oper_add(gwi, opck_fptr_impl)) + GWI_BB(gwi_oper_emi(gwi, opem_fptr_impl)) + GWI_BB(gwi_oper_end(gwi, "@implicit", NULL)) GWI_BB(gwi_oper_ini(gwi, "@null", "@func_ptr", NULL)) GWI_BB(gwi_oper_add(gwi, opck_null_fptr_at)) GWI_BB(gwi_oper_emi(gwi, opem_func_assign))