[m-dev.] trivial diff: fix bug in mdb error message
Fergus Henderson
fjh at cs.mu.OZ.AU
Sun May 21 16:06:59 AEST 2000
Estimated hours taken: 0.25
trace/mercury_trace_internal.c:
Fix a bug in an error message: if you typed in `break 42', it
would report `There is no event at <current file>:<current line>',
rather than reporting `There is no event at <current file>:42'.
Workspace: /home/pgrad/fjh/ws/hg
Index: trace/mercury_trace_internal.c
===================================================================
RCS file: /home/mercury1/repository/mercury/trace/mercury_trace_internal.c,v
retrieving revision 1.66
diff -u -d -r1.66 mercury_trace_internal.c
--- trace/mercury_trace_internal.c 2000/05/15 16:37:42 1.66
+++ trace/mercury_trace_internal.c 2000/05/21 06:02:17
@@ -1011,7 +1011,7 @@
fprintf(MR_mdb_err,
"There is no event "
"at %s:%d.\n",
- file, line);
+ file, breakline);
}
} else {
MR_fatal_error("cannot find current filename");
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list