]> Nishi Git Mirror - gwion.git/commitdiff
:art: Improve cdoc
authorJérémie Astor <fennecdjay@gmail.com>
Thu, 12 Aug 2021 08:14:14 +0000 (10:14 +0200)
committerJérémie Astor <fennecdjay@gmail.com>
Thu, 12 Aug 2021 08:14:14 +0000 (10:14 +0200)
fmt
plug
src/import/import_cdef.c

diff --git a/fmt b/fmt
index ec254e0933bfe8a8bf7dd13771e90ab4229526ad..3804d3d2a602aaed11050ca04cf568a07fc6adcb 160000 (submodule)
--- a/fmt
+++ b/fmt
@@ -1 +1 @@
-Subproject commit ec254e0933bfe8a8bf7dd13771e90ab4229526ad
+Subproject commit 3804d3d2a602aaed11050ca04cf568a07fc6adcb
diff --git a/plug b/plug
index d688f274e7692e68d3cc6863cb292fbacd115190..c812ccc55b6c51aa91b5d5610e82925cdb084d8b 160000 (submodule)
--- a/plug
+++ b/plug
@@ -1 +1 @@
-Subproject commit d688f274e7692e68d3cc6863cb292fbacd115190
+Subproject commit c812ccc55b6c51aa91b5d5610e82925cdb084d8b
index 734cd1806c3e4204927be084607ec4ef00384804..3b6081ee793bc21fedbe0c52eed6c22fab75db03 100644 (file)
@@ -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);
   }