]> Nishi Git Mirror - gwion.git/commitdiff
:fire: Remove useless file
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Wed, 5 Aug 2020 20:49:47 +0000 (22:49 +0200)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Wed, 5 Aug 2020 20:49:47 +0000 (22:49 +0200)
src/parse/compat_func.h [deleted file]

diff --git a/src/parse/compat_func.h b/src/parse/compat_func.h
deleted file mode 100644 (file)
index f8646a7..0000000
+++ /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;
-}