src/Pure/PIDE/command.scala
changeset 59203 5f0bd5afc16d
parent 59072 27c6936c6484
child 59684 86a76300137e
equal deleted inserted replaced
59202:711c2446dc9d 59203:5f0bd5afc16d
   126     markups: Markups = Markups.empty)
   126     markups: Markups = Markups.empty)
   127   {
   127   {
   128     lazy val protocol_status: Protocol.Status =
   128     lazy val protocol_status: Protocol.Status =
   129     {
   129     {
   130       val warnings =
   130       val warnings =
   131         if (results.iterator.exists(p => Protocol.is_warning(p._2)))
   131         if (results.iterator.exists(p => Protocol.is_warning(p._2) || Protocol.is_legacy(p._2)))
   132           List(Markup(Markup.WARNING, Nil))
   132           List(Markup(Markup.WARNING, Nil))
   133         else Nil
   133         else Nil
   134       val errors =
   134       val errors =
   135         if (results.iterator.exists(p => Protocol.is_error(p._2)))
   135         if (results.iterator.exists(p => Protocol.is_error(p._2)))
   136           List(Markup(Markup.ERROR, Nil))
   136           List(Markup(Markup.ERROR, Nil))