From: Jérémie Astor Date: Tue, 30 Mar 2021 08:16:51 +0000 (+0200) Subject: :art: Improve dym X-Git-Tag: nightly~810 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=692d62ea67ba6cb72ae7915e88ef88c2234dda2e;p=gwion.git :art: Improve dym --- diff --git a/src/parse/did_you_mean.c b/src/parse/did_you_mean.c index 2d724d6b..e2d4e784 100644 --- a/src/parse/did_you_mean.c +++ b/src/parse/did_you_mean.c @@ -41,7 +41,7 @@ ANN static void ressembles(const Vector v, const Nspc nspc, const char* name, bo if(wagner_fisher(name, value->name)) { if(!*done) { *done = true; - gw_err("{-/}did you mean{0}:"); + gw_err("{-/}did you mean{0}:\n"); } if(!vflag(value, vflag_builtin)) gwerr_secondary("declared here", value->from->filename, value->from->loc); @@ -51,7 +51,6 @@ ANN static void ressembles(const Vector v, const Nspc nspc, const char* name, bo #define MAX_NAME_LEN 16 #define CHECK_LEN(name) if(strlen(name) > MAX_NAME_LEN) return; -#define DYM_FMT "`{/+}%s{0}`?\n" #undef did_you_mean_nspc ANN void did_you_mean_nspc(Nspc nspc, const char* name) {