equal
deleted
inserted
replaced
77 (path', "thy") => (Path.dir path', Path.implode (Path.base path')) |
77 (path', "thy") => (Path.dir path', Path.implode (Path.base path')) |
78 | _ => error ("Bad theory file specification: " ^ Path.implode path)); |
78 | _ => error ("Bad theory file specification: " ^ Path.implode path)); |
79 |
79 |
80 fun consistent_name name name' = |
80 fun consistent_name name name' = |
81 if name = name' then () |
81 if name = name' then () |
82 else error ("Filename " ^ quote (Path.implode (thy_path name)) ^ |
82 else error ("Bad file name " ^ quote (Path.implode (thy_path name)) ^ |
83 " does not agree with theory name " ^ quote name'); |
83 " for theory " ^ quote name'); |
84 |
84 |
85 end; |
85 end; |