From bdefda67dd5ac87448782e8824be019298192e4e Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Wed, 5 Aug 2020 22:49:47 +0200 Subject: [PATCH] :fire: Remove useless file --- src/parse/compat_func.h | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 src/parse/compat_func.h diff --git a/src/parse/compat_func.h b/src/parse/compat_func.h deleted file mode 100644 index f8646a7a..00000000 --- a/src/parse/compat_func.h +++ /dev/null @@ -1,18 +0,0 @@ -#include "gwion_util.h" -#include "gwion_ast.h" -#include "gwion_env.h" - -ANN m_bool compat_func(const restrict Func_Def lhs, const restrict Func_Def rhs) { - Arg_List e1 = lhs->base->args; - Arg_List e2 = rhs->base->args; - - while(e1 && e2) { - if(e1->type != e2->type) - return GW_ERROR; - e1 = e1->next; - e2 = e2->next; - } - if(e1 || e2) - return GW_ERROR; - return GW_OK; -} -- 2.43.0