caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] menhir should reference source file and not generated source file
@ 2017-05-02 17:09 Helmut Brandl
  2017-05-02 19:49 ` François Pottier
  2017-05-09 19:32 ` François Pottier
  0 siblings, 2 replies; 5+ messages in thread
From: Helmut Brandl @ 2017-05-02 17:09 UTC (permalink / raw)
  To: caml users

Hello list,

I have switched from ocamlyacc to menhir. Basically the experience is very positive. However I continue to have the problem that any assertion failure reported by the runtime system always references the source file of the generated parser (i.e. the .ml file) and not the source file (i.e. the .mly file).

Is there any way to ask menhir to use the line numbers of the source file instead of the generated source?

Thanks for any hint.

Regards
Helmut

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

end of thread, other threads:[~2017-05-11 19:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-02 17:09 [Caml-list] menhir should reference source file and not generated source file Helmut Brandl
2017-05-02 19:49 ` François Pottier
2017-05-03  1:18   ` Helmut Brandl
2017-05-09 19:32 ` François Pottier
2017-05-11  2:28   ` Helmut Brandl

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).