proper treatment of equal heading level;
authorwenzelm
Wed, 10 Nov 2010 15:42:20 +0100
changeset 40457 3b0050718b31
parent 40456 e91b3c2145b4
child 40458 12c8c64203b3
proper treatment of equal heading level;
src/Pure/Thy/thy_syntax.scala
--- a/src/Pure/Thy/thy_syntax.scala	Wed Nov 10 15:41:29 2010 +0100
+++ b/src/Pure/Thy/thy_syntax.scala	Wed Nov 10 15:42:20 2010 +0100
@@ -59,7 +59,7 @@
       {
         syntax.heading_level(command) match {
           case Some(i) =>
-            close(_ > i)
+            close(_ >= i)
             stack = (i, command.source, buffer()) :: stack
           case None =>
         }