]> Nishi Git Mirror - gwion.git/commitdiff
:art: add ability to force load plugins (fix)
authorJérémie Astor <fennecdjay@gmail.com>
Sat, 8 Jan 2022 01:27:09 +0000 (02:27 +0100)
committerJérémie Astor <fennecdjay@gmail.com>
Sat, 8 Jan 2022 01:27:09 +0000 (02:27 +0100)
src/arg.c

index 181cc55237e360c1eafe19198aec91882d4b1e2e..46d1c5d433a592b0a64c817dfbe59fc50295d618 100644 (file)
--- 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, "<command-line>", c);
       break;
+}
     case ARG_DEFINE:
       pparg_add(gwion->ppa, (m_str)VPTR(v, ++i));
       break;