src/HOL/Import/proof_kernel.ML
changeset 14673 3d760a971fde
parent 14620 1be590fd2422
child 14685 92f34880efe3
--- a/src/HOL/Import/proof_kernel.ML	Mon Apr 26 14:53:29 2004 +0200
+++ b/src/HOL/Import/proof_kernel.ML	Mon Apr 26 14:54:45 2004 +0200
@@ -170,10 +170,13 @@
 
 (* Compatibility. *)
 
-fun mk_syn c = if Symbol.is_identifier c then NoSyn else Syntax.literal c
+(* FIXME lookup inner syntax!? *)
+fun mk_syn c = if Syntax.is_identifier c then NoSyn else Syntax.literal c
 
+(* FIXME lookup outer syntax!? *)
 val keywords = ["open"]
-fun quotename c = if Symbol.is_identifier c andalso not (c mem keywords) then c else quote c
+fun quotename c =
+  if Syntax.is_identifier c andalso not (c mem_string keywords) then c else quote c
 
 fun smart_string_of_cterm ct =
     let