From 927b53e318fe40b6901bb3095667735ee787953a Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Wed, 9 Oct 2019 21:17:08 +0200 Subject: [PATCH] :shirt: remove fptr call protext --- src/lib/func.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/func.c b/src/lib/func.c index 0d6d509e..0a284176 100644 --- a/src/lib/func.c +++ b/src/lib/func.c @@ -25,8 +25,6 @@ static INSTR(LambdaAssign) { static OP_CHECK(opck_func_call) { Exp_Binary* bin = (Exp_Binary*)data; - if(bin->rhs->exp_type == ae_exp_decl) - ERR_N(bin->rhs->pos, _("calling fptr decl, this is forbidden.")) Exp_Call call = { .func=bin->rhs, .args=bin->lhs }; Exp e = exp_self(bin); e->exp_type = ae_exp_call; -- 2.43.0