From: Jérémie Astor Date: Sat, 8 Jan 2022 01:27:09 +0000 (+0100) Subject: :art: add ability to force load plugins (fix) X-Git-Tag: nightly~389^2~5 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=ced70fd7f4f69959c6713436a8ea3d9dc23efc01;p=gwion.git :art: add ability to force load plugins (fix) --- diff --git a/src/arg.c b/src/arg.c index 181cc552..46d1c5d4 100644 --- a/src/arg.c +++ b/src/arg.c @@ -117,10 +117,12 @@ ANN void arg_compile(const Gwion gwion, Arg *arg) { compile_file(gwion, "stdin", stdin); break; case ARG_LOAD_PLUGIN: +{ char c[1024]; sprintf(c, "#import %s\n", (m_str)VPTR(v, ++i)); compile_string(gwion, "", c); break; +} case ARG_DEFINE: pparg_add(gwion->ppa, (m_str)VPTR(v, ++i)); break;