summaryrefslogtreecommitdiffstats
path: root/byterun
diff options
context:
space:
mode:
authorGabriel Scherer <gabriel.scherer@gmail.com>2013-06-19 14:03:51 +0000
committerGabriel Scherer <gabriel.scherer@gmail.com>2013-06-19 14:03:51 +0000
commitbe7dca95f5f86ed5956bbf389d4e4d30f154692f (patch)
tree57ec694ff3060ad769d0359a34a273c51aed4fa0 /byterun
parente9a37a19ea259e20caee099dd69a101b4c5c6da7 (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.c2
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)
{