omit redundant compact_source (see e1abca2527da): Command_Span.unparsed consists of one token with the original source;
authorwenzelm
Tue, 12 Nov 2024 11:16:36 +0100
changeset 81431 3585a1a77ad1
parent 81430 d23d9fd83ef0
child 81432 85fc3b482924
omit redundant compact_source (see e1abca2527da): Command_Span.unparsed consists of one token with the original source;
src/Pure/PIDE/command.scala
--- a/src/Pure/PIDE/command.scala	Tue Nov 12 11:04:54 2024 +0100
+++ b/src/Pure/PIDE/command.scala	Tue Nov 12 11:16:36 2024 +0100
@@ -380,8 +380,8 @@
     results: Results = Results.empty,
     markups: Markups = Markups.empty
   ): Command = {
-    val (source1, span1) = Command_Span.unparsed(source, theory = theory).compact_source
-    new Command(id, node_name, blobs_info, span1, source1, results, markups)
+    val span = Command_Span.unparsed(source, theory = theory)
+    new Command(id, node_name, blobs_info, span, source, results, markups)
   }