src/Pure/Isar/outer_syntax.scala
changeset 59700 d887abcc7c24
parent 59684 86a76300137e
child 59702 58dfaa369c11
     1.1 --- a/src/Pure/Isar/outer_syntax.scala	Sun Mar 15 12:42:30 2015 +0100
     1.2 +++ b/src/Pure/Isar/outer_syntax.scala	Sun Mar 15 12:49:20 2015 +0100
     1.3 @@ -235,7 +235,7 @@
     1.4        case "subsubsection" => Some(3)
     1.5        case _ =>
     1.6          keywords.command_kind(command.name) match {
     1.7 -          case Some(kind) if Keyword.theory(kind) && kind != Keyword.THY_END => Some(4)
     1.8 +          case Some(kind) if Keyword.theory(kind) && !Keyword.theory_end(kind) => Some(4)
     1.9            case _ => None
    1.10          }
    1.11      }