From: fennecdjay Date: Thu, 3 Nov 2022 22:44:34 +0000 (+0100) Subject: :art: Update linter X-Git-Tag: nightly~207^2~89 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=a88384c00917acc57cbd01d60c85fc329c86150e;p=gwion.git :art: Update linter --- diff --git a/src/import/import_internals.c b/src/import/import_internals.c index b4b2b685..b727a0aa 100644 --- a/src/import/import_internals.c +++ b/src/import/import_internals.c @@ -30,8 +30,8 @@ ANN void gwi_reset(const Gwi gwi) { } ANN static m_bool run_with_doc(const Gwi gwi, m_bool (*f)(const Gwi)) { - struct LintState ls = {.builtin = true, }; - Lint linter = {.mp = gwi->gwion->mp, .ls = &ls, .nindent = 4}; + struct LintState ls = {.builtin = true, .nindent = 4}; + Lint linter = {.mp = gwi->gwion->mp, .ls = &ls }; lint_indent(&linter); lint(&linter, "{-}#!+ %s{0}\n", gwi->gwion->env->name); gwi->lint = &linter;