src/Pure/PIDE/resources.scala
changeset 65373 905ed0102c69
parent 65372 b722ee40c26c
child 65392 f365f61f2081
     1.1 --- a/src/Pure/PIDE/resources.scala	Tue Apr 04 19:40:47 2017 +0200
     1.2 +++ b/src/Pure/PIDE/resources.scala	Tue Apr 04 19:51:56 2017 +0200
     1.3 @@ -68,8 +68,7 @@
     1.4      else Nil
     1.5  
     1.6    def qualify(name: String): String =
     1.7 -    if (Long_Name.is_qualified(name)) error("Bad qualified theory name " + quote(name))
     1.8 -    else if (session_base.global_theories.contains(name)) name
     1.9 +    if (session_base.global_theories.contains(name) || Long_Name.is_qualified(name)) name
    1.10      else Long_Name.qualify(session_name, name)
    1.11  
    1.12    def init_name(raw_path: Path): Document.Node.Name =