diff options
| author | David Aspinall | 2012-02-08 18:00:57 +0000 |
|---|---|---|
| committer | David Aspinall | 2012-02-08 18:00:57 +0000 |
| commit | b794252aab2673cc60ecbfcc8fe8bf454e5468ea (patch) | |
| tree | a255cf77a33ed2481c1e8e0fcc1a2f30dd4c1895 /hol-light/pg_prompt.ml | |
| parent | af00bfad9b14dd182259d376f11ad7af046d4444 (diff) | |
Abort attempt to use special exception printing
Diffstat (limited to 'hol-light/pg_prompt.ml')
| -rw-r--r-- | hol-light/pg_prompt.ml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hol-light/pg_prompt.ml b/hol-light/pg_prompt.ml index 0ae28992..b14c01ca 100644 --- a/hol-light/pg_prompt.ml +++ b/hol-light/pg_prompt.ml @@ -43,6 +43,9 @@ let original_prompt_fn = !Toploop.read_interactive_input in (* Adjust error printing to markup error messages *) (* ------------------------------------------------------------------------- *) +(* Doesn't really work, as many errors are from OCaml top level and + not printed in this way. + let print_exn e = match e with Failure x -> Format.print_string @@ -52,3 +55,5 @@ let print_exn e = | _ -> Format.print_string (Printexc.to_string e);; #install_printer print_exn;; + +*) |
