]> Nishi Git Mirror - gwion.git/commitdiff
:bug: Fix fptr operators
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Tue, 30 Jun 2020 21:11:57 +0000 (23:11 +0200)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Tue, 30 Jun 2020 21:11:57 +0000 (23:11 +0200)
src/lib/func.c

index 3d26ee1f6f48f6ed33078cfba7b5195f3e022ae4..258a7672d1d5b14e666b32df14a378c82af3cc50 100644 (file)
@@ -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))