src/Pure/PIDE/protocol.scala
changeset 65445 e9e7f5f5794c
parent 65439 862bfd2b4fd4
child 65470 a0f49174dbeb
     1.1 --- a/src/Pure/PIDE/protocol.scala	Sat Apr 08 21:35:04 2017 +0200
     1.2 +++ b/src/Pure/PIDE/protocol.scala	Sat Apr 08 22:36:32 2017 +0200
     1.3 @@ -359,14 +359,13 @@
     1.4            { case Document.Node.Edits(a) => (Nil, list(pair(option(id), option(id)))(a)) },
     1.5            { case Document.Node.Deps(header) =>
     1.6                val master_dir = File.standard_url(name.master_dir)
     1.7 -              val theory = name.theory_base_name  // FIXME
     1.8                val imports = header.imports.map({ case (a, _) => a.node })
     1.9                val keywords =
    1.10                  header.keywords.map({ case (a, Keyword.Spec(b, c, d)) => (a, ((b, c), d)) })
    1.11                (Nil,
    1.12                  pair(string, pair(string, pair(list(string), pair(list(pair(string,
    1.13                      pair(pair(string, list(string)), list(string)))), list(string)))))(
    1.14 -                (master_dir, (theory, (imports, (keywords, header.errors)))))) },
    1.15 +                (master_dir, (name.theory, (imports, (keywords, header.errors)))))) },
    1.16            { case Document.Node.Perspective(a, b, c) =>
    1.17                (bool_atom(a) :: b.commands.map(cmd => long_atom(cmd.id)),
    1.18                  list(pair(id, pair(string, list(string))))(c.dest)) }))