src/Pure/Syntax/parser.ML
changeset 14600 ba51bc239716
parent 13057 805de10ca485
child 14981 e73f8140af78
--- a/src/Pure/Syntax/parser.ML	Fri Apr 16 18:47:00 2004 +0200
+++ b/src/Pure/Syntax/parser.ML	Fri Apr 16 18:48:13 2004 +0200
@@ -397,14 +397,14 @@
 
     val taglist = Symtab.dest tags;
 
-    fun pretty_symb (Terminal (Token s)) = Pretty.str (quote s)
+    fun pretty_symb (Terminal (Token s)) = Pretty.quote (Pretty.str s)
       | pretty_symb (Terminal tok) = Pretty.str (str_of_token tok)
       | pretty_symb (Nonterminal (tag, p)) =
         let val name = fst (the (find_first (fn (n, t) => t = tag) taglist));
         in Pretty.str (name ^ "[" ^ string_of_int p ^ "]") end;
 
     fun pretty_const "" = []
-      | pretty_const c = [Pretty.str ("=> " ^ quote c)];
+      | pretty_const c = [Pretty.str ("=> " ^ Library.quote c)];
 
     fun pretty_pri p = [Pretty.str ("(" ^ string_of_int p ^ ")")];