--- a/src/Pure/Isar/outer_syntax.scala Mon Mar 01 20:12:09 2021 +0100
+++ b/src/Pure/Isar/outer_syntax.scala Mon Mar 01 22:22:12 2021 +0100
@@ -166,7 +166,7 @@
val content = new mutable.ListBuffer[Token]
val ignored = new mutable.ListBuffer[Token]
- def ship(content: List[Token])
+ def ship(content: List[Token]): Unit =
{
val kind =
if (content.forall(_.is_ignored)) Command_Span.Ignored_Span
@@ -186,7 +186,7 @@
result += Command_Span.Span(kind, content)
}
- def flush()
+ def flush(): Unit =
{
if (content.nonEmpty) { ship(content.toList); content.clear }
if (ignored.nonEmpty) { ship(ignored.toList); ignored.clear }