caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] line number for assert
@ 2001-09-11  9:39 Vesa Karvonen
  2001-09-11  9:51 ` David Mentre
  0 siblings, 1 reply; 8+ messages in thread
From: Vesa Karvonen @ 2001-09-11  9:39 UTC (permalink / raw)
  To: caml-list

Hi,

The assert primitive of Ocaml 3.02 (windows version) seems to print the source
file location as an offset from the beginning of the file rather than as a
line number and column.

Is there a particular reason for this?

The reason why I'm asking this is that it makes it much more difficult to find
the right assertion on most editors.

Is there a simple way to overcome this limitation?

I was thinking of the possibility of preprocessing the source code with some
simple preprocessor and using a home brewn assertion procedure, but I'd like
to hear about simpler solutions.

Regards,
  Vesa Karvonen


-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2001-09-13  8:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-11  9:39 [Caml-list] line number for assert Vesa Karvonen
2001-09-11  9:51 ` David Mentre
2001-09-11 10:06   ` Markus Mottl
2001-09-13  0:14     ` SooHyoung Oh
2001-09-13  8:46       ` Markus Mottl
2001-09-11 10:53   ` Sven
2001-09-11 13:49     ` Christian Lindig
2001-09-11 14:41   ` Vesa Karvonen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).