From ced70fd7f4f69959c6713436a8ea3d9dc23efc01 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sat, 8 Jan 2022 02:27:09 +0100 Subject: [PATCH] :art: add ability to force load plugins (fix) --- src/arg.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.43.0