suppress special Poly/ML location inBasis (see $ML_SOURCES/mlsource/MLCompiler/STRUCT_VALS.ML);
authorwenzelm
Mon, 20 Oct 2014 10:19:50 +0200
changeset 58714 ca0b7d7cc9a3
parent 58710 7216a10d69ba
child 58715 cb8d2470623b
suppress special Poly/ML location inBasis (see $ML_SOURCES/mlsource/MLCompiler/STRUCT_VALS.ML);
src/Pure/ML/exn_properties_polyml.ML
--- a/src/Pure/ML/exn_properties_polyml.ML	Mon Oct 20 07:45:58 2014 +0200
+++ b/src/Pure/ML/exn_properties_polyml.ML	Mon Oct 20 10:19:50 2014 +0200
@@ -19,7 +19,9 @@
 fun props_of (loc: PolyML.location) =
   (case YXML.parse_body (#file loc) of
     [] => []
-  | [XML.Text file] => [(Markup.fileN, file)]
+  | [XML.Text file] =>
+      if file = "Standard Basis" then []
+      else [(Markup.fileN, file)]
   | body => XML.Decode.properties body);
 
 fun position_of loc =