src/Pure/Isar/keyword.scala
changeset 59122 c1dbcde94cd2
parent 59073 dcecfcc56dce
child 59700 d887abcc7c24
     1.1 --- a/src/Pure/Isar/keyword.scala	Tue Dec 09 20:00:45 2014 +0100
     1.2 +++ b/src/Pure/Isar/keyword.scala	Tue Dec 09 21:14:11 2014 +0100
     1.3 @@ -139,10 +139,6 @@
     1.4  
     1.5      def command_kind(name: String): Option[String] = commands.get(name).map(_._1)
     1.6  
     1.7 -    def is_command_kind(token: Token, pred: String => Boolean): Boolean =
     1.8 -      token.is_command &&
     1.9 -        (command_kind(token.source) match { case Some(k) => pred(k) case None => false })
    1.10 -
    1.11  
    1.12      /* load commands */
    1.13