token_trans: symbol length;
authorwenzelm
Fri, 03 Mar 2000 01:58:57 +0100
changeset 8331 057a3e303f38
parent 8330 c411706dc503
child 8332 88fe0f1a480f
token_trans: symbol length;
src/Pure/Interface/proof_general.ML
--- a/src/Pure/Interface/proof_general.ML	Thu Mar 02 18:18:59 2000 +0100
+++ b/src/Pure/Interface/proof_general.ML	Fri Mar 03 01:58:57 2000 +0100
@@ -42,7 +42,7 @@
 val var_tag = oct_char "356";
 val skolem_tag = oct_char "357";
 
-fun tagit p x = (p ^ x ^ end_tag, real (size x));
+fun tagit p x = (p ^ x ^ end_tag, real (Symbol.length (Symbol.explode x)));
 
 fun unless_skolem tag x =
   (case try Syntax.dest_skolem x of