From 9359f1a1d74d9c7b3880397b8537b387c3c670fa Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Tue, 30 Jun 2020 23:11:57 +0200 Subject: [PATCH] :bug: Fix fptr operators --- src/lib/func.c | 6 ++++++ 1 file changed, 6 insertions(+) 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)) -- 2.43.0