From: Jérémie Astor Date: Mon, 14 Sep 2020 09:39:24 +0000 (+0200) Subject: :bug: But just a typo X-Git-Tag: nightly~1324 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=381ff4efed63d28281098162bcb67dc1da84e4f2;p=gwion.git :bug: But just a typo --- diff --git a/src/parse/operator.c b/src/parse/operator.c index 3ced6b22..5b89942c 100644 --- a/src/parse/operator.c +++ b/src/parse/operator.c @@ -39,7 +39,7 @@ ANN static Type op_parent(const Env env, const Type t) { const Type type = typedef_base(t); char name[strlen(type->name) + 1]; strcpy(name, type->name); - const m_str post = strrchr(name, ':'); + const m_str post = strchr(name, ':'); *post = '\0'; return nspc_lookup_type1(env->curr, insert_symbol(env->gwion->st, name)); }