ThyHeader.read: Source.of_string_limited;
authorwenzelm
Thu, 19 Jul 2007 23:49:05 +0200
changeset 23876 d3b05e7bc5d2
parent 23875 e22705ccc07d
child 23877 307f75aaefca
ThyHeader.read: Source.of_string_limited;
src/Pure/Thy/thy_load.ML
--- a/src/Pure/Thy/thy_load.ML	Thu Jul 19 23:49:04 2007 +0200
+++ b/src/Pure/Thy/thy_load.ML	Thu Jul 19 23:49:05 2007 +0200
@@ -99,7 +99,7 @@
   let
     val master as ((path, _), _) = check_thy dirs name ml;
     val (name', imports, uses) =
-      ThyHeader.read (Position.path path) (Source.of_string (File.read path));
+      ThyHeader.read (Position.path path) (Source.of_string_limited (File.read path));
     val _ = name = name' orelse
       error ("Filename " ^ quote (Path.implode (Path.base path)) ^
         " does not agree with theory name " ^ quote name');