src/Pure/Interface/proof_general.ML
changeset 10954 a555bfb66c2d
parent 10933 0b3997a180dd
child 11017 241cbdf4134e
equal deleted inserted replaced
10953:ea024d025463 10954:a555bfb66c2d
    86   if not (exists_string (equal "\\") s) then (s, real (size s))
    86   if not (exists_string (equal "\\") s) then (s, real (size s))
    87   else
    87   else
    88     let val syms = Symbol.explode s
    88     let val syms = Symbol.explode s
    89     in (implode (map (fn "\\" => "\\\\" | c => c) syms), real (Symbol.length syms)) end;
    89     in (implode (map (fn "\\" => "\\\\" | c => c) syms), real (Symbol.length syms)) end;
    90 
    90 
    91 fun setup_xsymbols_output () = Symbol.add_mode "xsymbols" xsymbols_output;
    91 fun setup_xsymbols_output () = Symbol.add_mode "xsymbols" (xsymbols_output, Symbol.default_indent);
    92 
    92 
    93 
    93 
    94 (* messages *)
    94 (* messages *)
    95 
    95 
    96 val plain_output = Library.std_output o suffix "\n";
    96 val plain_output = Library.std_output o suffix "\n";
   316 end;
   316 end;
   317 
   317 
   318 
   318 
   319 end;
   319 end;
   320 
   320 
   321 (*this hack avoids problems with escapes in ML commands; required for
   321 (*a hack for Proof General 3.2 to avoid problems with escapes in ML commands*)
   322   Proof General 3.2*)
       
   323 infix \\\\ val op \\\\ = op \\;
   322 infix \\\\ val op \\\\ = op \\;