equal
deleted
inserted
replaced
551 it affects nothing but the names of bound variables!*) |
551 it affects nothing but the names of bound variables!*) |
552 fun rename_tac str i = |
552 fun rename_tac str i = |
553 let val cs = explode str |
553 let val cs = explode str |
554 in |
554 in |
555 if !Logic.auto_rename |
555 if !Logic.auto_rename |
556 then (writeln"Note: setting Logic.auto_rename := false"; |
556 then (warning "Resetting Logic.auto_rename"; |
557 Logic.auto_rename := false) |
557 Logic.auto_rename := false) |
558 else (); |
558 else (); |
559 case #2 (take_prefix (is_letdig orf is_blank) cs) of |
559 case #2 (take_prefix (is_letdig orf is_blank) cs) of |
560 [] => PRIMITIVE (rename_params_rule (scanwords is_letdig cs, i)) |
560 [] => PRIMITIVE (rename_params_rule (scanwords is_letdig cs, i)) |
561 | c::_ => error ("Illegal character: " ^ c) |
561 | c::_ => error ("Illegal character: " ^ c) |