equal
deleted
inserted
replaced
129 (case Position.get_id (Position.thread_data ()) of |
129 (case Position.get_id (Position.thread_data ()) of |
130 NONE => I |
130 NONE => I |
131 | SOME id => Protocol_Message.command_positions_yxml id) |
131 | SOME id => Protocol_Message.command_positions_yxml id) |
132 |> error; |
132 |> error; |
133 val {name = (name, _), imports, ...} = header; |
133 val {name = (name, _), imports, ...} = header; |
134 val {name = (_, pos), imports = imports', keywords} = Thy_Header.read_tokens span; |
134 val {name = (_, pos), imports = imports', keywords} = |
|
135 Thy_Header.read_tokens Position.none span; |
135 val imports'' = (map #1 imports ~~ map #2 imports') handle ListPair.UnequalLengths => imports; |
136 val imports'' = (map #1 imports ~~ map #2 imports') handle ListPair.UnequalLengths => imports; |
136 in Thy_Header.make (name, pos) imports'' keywords end; |
137 in Thy_Header.make (name, pos) imports'' keywords end; |
137 |
138 |
138 fun get_perspective (Node {perspective, ...}) = perspective; |
139 fun get_perspective (Node {perspective, ...}) = perspective; |
139 |
140 |