From 2fab59c09c67d943798e62c920df05a7a92fd55f Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Thu, 12 Aug 2021 10:14:14 +0200 Subject: [PATCH] :art: Improve cdoc --- fmt | 2 +- plug | 2 +- src/import/import_cdef.c | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/fmt b/fmt index ec254e09..3804d3d2 160000 --- a/fmt +++ b/fmt @@ -1 +1 @@ -Subproject commit ec254e0933bfe8a8bf7dd13771e90ab4229526ad +Subproject commit 3804d3d2a602aaed11050ca04cf568a07fc6adcb diff --git a/plug b/plug index d688f274..c812ccc5 160000 --- a/plug +++ b/plug @@ -1 +1 @@ -Subproject commit d688f274e7692e68d3cc6863cb292fbacd115190 +Subproject commit c812ccc55b6c51aa91b5d5610e82925cdb084d8b diff --git a/src/import/import_cdef.c b/src/import/import_cdef.c index 734cd180..3b6081ee 100644 --- a/src/import/import_cdef.c +++ b/src/import/import_cdef.c @@ -124,6 +124,7 @@ ANN Type gwi_struct_ini(const Gwi gwi, const m_str name) { ANN m_int gwi_class_end(const Gwi gwi) { if (gwi->gwion->data->cdoc) { gwi->lint->indent--; + lint_indent(gwi->lint); lint_rbrace(gwi->lint); lint_nl(gwi->lint); } -- 2.43.0