commit 6563d81cd2a710da0e3d55683b423334ecaa8f43
Author: Kornel Benko <[email protected]>
Date:   Sat Dec 28 14:56:13 2024 +0100

    Check also for any unfinished structures.
---
 development/autotests/beginEndStructureCheck.pl | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/development/autotests/beginEndStructureCheck.pl 
b/development/autotests/beginEndStructureCheck.pl
index 437f52453e..4c3817d789 100755
--- a/development/autotests/beginEndStructureCheck.pl
+++ b/development/autotests/beginEndStructureCheck.pl
@@ -38,4 +38,10 @@ if (open(FI, $input)) {
     }
   }
 }
+if ($depth > 0) {
+  for (my $i = $depth-1; $i >= 0; $i--) {
+    print "Missing \\end_$stack[$i]\n";
+  }
+  exit(-3);
+}
 exit(0);
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to