* [Caml-list] line numbers
@ 2016-03-18 1:02 Hendrik Boom
2016-03-18 1:12 ` ygrek
2016-03-18 1:13 ` Daniel Bünzli
0 siblings, 2 replies; 4+ messages in thread
From: Hendrik Boom @ 2016-03-18 1:02 UTC (permalink / raw)
To: caml-list
Does ocaml support anything like C's #line preprocessor command
so that for machine-generated ocaml source code it is possible to get
error messages related to the code the ocaml sorce is generated from?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Caml-list] line numbers
2016-03-18 1:02 [Caml-list] line numbers Hendrik Boom
@ 2016-03-18 1:12 ` ygrek
2016-03-18 3:00 ` Hendrik Boom
2016-03-18 1:13 ` Daniel Bünzli
1 sibling, 1 reply; 4+ messages in thread
From: ygrek @ 2016-03-18 1:12 UTC (permalink / raw)
To: caml-list
http://caml.inria.fr/pub/docs/manual-ocaml/lex.html#linenum-directive
--
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Caml-list] line numbers
2016-03-18 1:02 [Caml-list] line numbers Hendrik Boom
2016-03-18 1:12 ` ygrek
@ 2016-03-18 1:13 ` Daniel Bünzli
1 sibling, 0 replies; 4+ messages in thread
From: Daniel Bünzli @ 2016-03-18 1:13 UTC (permalink / raw)
To: Hendrik Boom; +Cc: caml-list
Le vendredi, 18 mars 2016 à 02:02, Hendrik Boom a écrit :
> Does ocaml support anything like C's #line preprocessor command
> so that for machine-generated ocaml source code it is possible to get
> error messages related to the code the ocaml sorce is generated from?
Yes, see http://caml.inria.fr/pub/docs/manual-ocaml/lex.html#sec74
Best,
Daniel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Caml-list] line numbers
2016-03-18 1:12 ` ygrek
@ 2016-03-18 3:00 ` Hendrik Boom
0 siblings, 0 replies; 4+ messages in thread
From: Hendrik Boom @ 2016-03-18 3:00 UTC (permalink / raw)
To: caml-list
On Thu, Mar 17, 2016 at 06:12:06PM -0700, ygrek wrote:
>
> http://caml.inria.fr/pub/docs/manual-ocaml/lex.html#linenum-directive
Excellent!
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-03-18 3:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-18 1:02 [Caml-list] line numbers Hendrik Boom
2016-03-18 1:12 ` ygrek
2016-03-18 3:00 ` Hendrik Boom
2016-03-18 1:13 ` Daniel Bünzli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox