src/Pure/Thy/thy_syntax.scala
changeset 38569 9d480f6a2589
parent 38425 e467db701d78
child 38878 1d5b3175fd30
     1.1 --- a/src/Pure/Thy/thy_syntax.scala	Fri Aug 20 12:12:28 2010 +0200
     1.2 +++ b/src/Pure/Thy/thy_syntax.scala	Fri Aug 20 20:11:25 2010 +0200
     1.3 @@ -84,7 +84,7 @@
     1.4              commands.iterator(first).takeWhile(_ != last).toList ::: List(last)
     1.5  
     1.6            val sources = range.flatMap(_.span.map(_.source))
     1.7 -          val spans0 = parse_spans(session.current_syntax.scan(sources.mkString))
     1.8 +          val spans0 = parse_spans(session.current_syntax().scan(sources.mkString))
     1.9  
    1.10            val (before_edit, spans1) =
    1.11              if (!spans0.isEmpty && first.is_command && first.span == spans0.head)