From: fennecdjay Date: Thu, 10 Oct 2019 14:54:42 +0000 (+0200) Subject: :art: Improve find_value X-Git-Tag: nightly~2198^2~13 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=ae74b49041c3f9188e69ac3f84ee4f7c2c7a926a;p=gwion.git :art: Improve find_value --- diff --git a/src/lib/instr.c b/src/lib/instr.c index 66d305c6..8b9fe2bb 100644 --- a/src/lib/instr.c +++ b/src/lib/instr.c @@ -116,5 +116,5 @@ INSTR(DotTmpl) { return; } } while((t = t->e->parent)); - Except(shred, "MissigTmplException[internal]"); //unreachable + Except(shred, "MissigTmplException[internal]"); } diff --git a/src/oo/type.c b/src/oo/type.c index bcdb2bfd..4c00d740 100644 --- a/src/oo/type.c +++ b/src/oo/type.c @@ -75,7 +75,7 @@ ANN Type find_common_anc(const restrict Type lhs, const restrict Type rhs) { #define describe_find(name, t) \ ANN t find_##name(const Type type, const Symbol xid) { \ if(type->nspc) { \ - const t val = nspc_lookup_##name##1(type->nspc, xid); \ + const t val = nspc_lookup_##name##0(type->nspc, xid); \ if(val) \ return val; \ } \