src/Pure/Thy/thy_output.ML
changeset 58864 505a8150368a
parent 58861 5ff61774df11
child 58866 f81e11391562
equal deleted inserted replaced
58863:64e571275b36 58864:505a8150368a
   413           make_span (the cmd) (toks1 @ (tok2 :: (toks3 @ the_default [] tok4))));
   413           make_span (the cmd) (toks1 @ (tok2 :: (toks3 @ the_default [] tok4))));
   414 
   414 
   415     val spans = toks
   415     val spans = toks
   416       |> take_suffix Token.is_space |> #1
   416       |> take_suffix Token.is_space |> #1
   417       |> Source.of_list
   417       |> Source.of_list
   418       |> Source.source' 0 Token.stopper (Scan.error (Scan.bulk token)) NONE
   418       |> Source.source' 0 Token.stopper (Scan.error (Scan.bulk token))
   419       |> Source.source stopper (Scan.error (Scan.bulk span)) NONE
   419       |> Source.source stopper (Scan.error (Scan.bulk span))
   420       |> Source.exhaust;
   420       |> Source.exhaust;
   421 
   421 
   422 
   422 
   423     (* present commands *)
   423     (* present commands *)
   424 
   424