From: Anders Fugmann <anders@fugmann.net>
To: caml-list@inria.fr
Subject: [Caml-list] filename and line number.
Date: Tue, 02 Aug 2011 14:20:51 +0200 [thread overview]
Message-ID: <4E37EBA3.6040800@fugmann.net> (raw)
Hi,
Do there exist a way to get filename and linenumber of the calling
function - Or at least the of the current filename and line number?
I guess this would involve a syntax camlp4 syntax extension, but I'm not
a camlp4 wizard and google did not come up with any suggestions.
Regards
Anders Fugmann
next reply other threads:[~2011-08-02 12:21 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-02 12:20 Anders Fugmann [this message]
2011-08-02 12:45 ` Gabriel Scherer
2011-08-02 21:21 ` Martin Jambon
2011-08-03 6:04 ` Anders Fugmann
2011-08-03 7:10 ` Gabriel Scherer
2011-08-04 7:58 ` Anders Fugmann
2011-08-04 13:03 ` forum
2011-08-08 19:08 ` Anders Peter Fugmann
2011-08-09 16:31 ` forum
2011-08-03 19:57 ` Till Varoquaux
2011-08-03 20:52 ` Gabriel Scherer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E37EBA3.6040800@fugmann.net \
--to=anders@fugmann.net \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox