src/HOL/Import/proof_kernel.ML
changeset 42290 b1f544c84040
parent 42288 2074b31650e6
child 42364 8c674b3b8e44
--- a/src/HOL/Import/proof_kernel.ML	Fri Apr 08 15:48:14 2011 +0200
+++ b/src/HOL/Import/proof_kernel.ML	Fri Apr 08 16:34:14 2011 +0200
@@ -181,11 +181,11 @@
 val string_of_mixfix = Pretty.string_of o Mixfix.pretty_mixfix;
 
 fun mk_syn thy c =
-  if Syntax.is_identifier c andalso not (Syntax.is_keyword (Sign.syn_of thy) c) then NoSyn
+  if Lexicon.is_identifier c andalso not (Syntax.is_keyword (Sign.syn_of thy) c) then NoSyn
   else Delimfix (Syntax_Ext.escape c)
 
 fun quotename c =
-  if Syntax.is_identifier c andalso not (Keyword.is_keyword c) then c else quote c
+  if Lexicon.is_identifier c andalso not (Keyword.is_keyword c) then c else quote c
 
 fun simple_smart_string_of_cterm ctxt0 ct =
     let
@@ -454,7 +454,7 @@
 val protected_varnames = Unsynchronized.ref (Symtab.empty:string Symtab.table)
 val invented_isavar = Unsynchronized.ref 0
 
-fun innocent_varname s = Syntax.is_identifier s andalso not (String.isPrefix "u_" s)
+fun innocent_varname s = Lexicon.is_identifier s andalso not (String.isPrefix "u_" s)
 
 fun valid_boundvarname s =
   can (fn () => Syntax.read_term_global @{theory Main} ("SOME "^s^". True")) ();