equal
deleted
inserted
replaced
355 fun proper_inform_file_processed path state = |
355 fun proper_inform_file_processed path state = |
356 let val name = thy_name path in |
356 let val name = thy_name path in |
357 if Toplevel.is_toplevel state andalso ThyInfo.known_thy name then |
357 if Toplevel.is_toplevel state andalso ThyInfo.known_thy name then |
358 (ThyInfo.touch_child_thys name; |
358 (ThyInfo.touch_child_thys name; |
359 ThyInfo.pretend_use_thy_only name handle ERROR msg => |
359 ThyInfo.pretend_use_thy_only name handle ERROR msg => |
360 (warning msg; warning ("Failed to register theory: " ^ quote name); |
360 (warning (cat_lines [msg, "Failed to register theory: " ^ quote name]); |
361 tell_file_retracted true (Path.base path))) |
361 tell_file_retracted true (Path.base path))) |
362 else raise Toplevel.UNDEF |
362 else raise Toplevel.UNDEF |
363 end; |
363 end; |
364 |
364 |
365 |
365 |