src/Pure/Tools/rail.ML
changeset 55112 b1a5d603fd12
parent 55030 9a9049d12e21
child 55526 39708e59f4b0
equal deleted inserted replaced
55111:5792f5106c40 55112:b1a5d603fd12
   264 
   264 
   265 in
   265 in
   266 
   266 
   267 val _ = Theory.setup
   267 val _ = Theory.setup
   268   (Thy_Output.antiquotation @{binding rail}
   268   (Thy_Output.antiquotation @{binding rail}
   269     (Scan.lift (Parse.source_position Parse.string))
   269     (Scan.lift (Parse.source_position (Parse.string || Parse.cartouche)))
   270     (fn {state, ...} => output_rules state o read));
   270     (fn {state, ...} => output_rules state o read));
   271 
   271 
   272 end;
   272 end;
   273 
   273 
   274 end;
   274 end;