equal
deleted
inserted
replaced
289 let |
289 let |
290 val path = Path.expand (Path.explode str); |
290 val path = Path.expand (Path.explode str); |
291 val name = Path.implode (Path.base path); |
291 val name = Path.implode (Path.base path); |
292 val node_name = File.full_path dir (Resources.thy_path path); |
292 val node_name = File.full_path dir (Resources.thy_path path); |
293 fun check_entry (Task (node_name', _, _)) = |
293 fun check_entry (Task (node_name', _, _)) = |
294 if node_name = node_name' then () |
294 if op = (apply2 File.platform_path (node_name, node_name')) |
|
295 then () |
295 else |
296 else |
296 error ("Incoherent imports for theory " ^ quote name ^ |
297 error ("Incoherent imports for theory " ^ quote name ^ |
297 Position.here require_pos ^ ":\n" ^ |
298 Position.here require_pos ^ ":\n" ^ |
298 " " ^ Path.print node_name ^ "\n" ^ |
299 " " ^ Path.print node_name ^ "\n" ^ |
299 " " ^ Path.print node_name') |
300 " " ^ Path.print node_name') |