src/Pure/tactic.ML
changeset 4213 cef5ef41e70d
parent 4178 e64ff1c1bc70
child 4270 957c887b89b5
equal deleted inserted replaced
4212:68c7b37f8721 4213:cef5ef41e70d
   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)