From 0793838176886a41d4a3abba953964379ddb56db Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Thu, 3 Dec 2020 06:52:59 +0100 Subject: [PATCH] :art: Remove useless func --- src/parse/scan2.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/parse/scan2.c b/src/parse/scan2.c index ccaeb95e..c7d63c71 100644 --- a/src/parse/scan2.c +++ b/src/parse/scan2.c @@ -91,13 +91,6 @@ ANN m_bool scan2_type_def(const Env env, const Type_Def tdef) { scan2_class_def(env, tdef->type->info->cdef) : GW_OK; } -ANN static inline Value prim_value(const Env env, const Symbol s) { - const Value value = nspc_lookup_value1(env->curr, s); - if(env->class_def) - return value ?: find_value(env->class_def, s); - return value; -} - ANN static m_bool scan2_range(const Env env, Range *range) { if(range->start) CHECK_BB(scan2_exp(env, range->start)) -- 2.43.0