src/Pure/Isar/parse.scala
changeset 56208 06cc31dff138
parent 55879 ac979f750c1a
child 56209 3c89e21d9be2
--- a/src/Pure/Isar/parse.scala	Tue Mar 18 16:45:14 2014 +0100
+++ b/src/Pure/Isar/parse.scala	Tue Mar 18 17:39:03 2014 +0100
@@ -64,7 +64,7 @@
     def path: Parser[String] =
       atom("file name/path specification", tok => tok.is_name && Path.is_wellformed(tok.content))
     def theory_name: Parser[String] =
-      atom("theory name", tok => tok.is_name && Thy_Load.is_wellformed(tok.content))
+      atom("theory name", tok => tok.is_name && Resources.is_wellformed_thy_path(tok.content))
 
     private def tag_name: Parser[String] =
       atom("tag name", tok =>