diff options
author | Gabriel Scherer <gabriel.scherer@gmail.com> | 2013-06-19 14:03:51 +0000 |
---|---|---|
committer | Gabriel Scherer <gabriel.scherer@gmail.com> | 2013-06-19 14:03:51 +0000 |
commit | be7dca95f5f86ed5956bbf389d4e4d30f154692f (patch) | |
tree | 57ec694ff3060ad769d0359a34a273c51aed4fa0 /byterun | |
parent | e9a37a19ea259e20caee099dd69a101b4c5c6da7 (diff) |
make ocamlopt pretty-print uncaught exceptions just as ocamlc and Printexc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13809 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun')
-rw-r--r-- | byterun/backtrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/byterun/backtrace.c b/byterun/backtrace.c index 9e894f216..0bcc22102 100644 --- a/byterun/backtrace.c +++ b/byterun/backtrace.c @@ -225,7 +225,7 @@ static void extract_location_info(value events, code_t pc, - Int_val (Field (ev_start, POS_BOL)); } -/* Print location information */ +/* Print location information -- same behavior as in Printexc */ static void print_location(struct loc_info * li, int index) { |