From: Helmut Brandl <helmut.brandl@gmx.net>
To: caml users <caml-list@inria.fr>
Subject: [Caml-list] menhir should reference source file and not generated source file
Date: Tue, 2 May 2017 12:09:22 -0500 [thread overview]
Message-ID: <971FC6F9-5D09-42B6-BAF7-1C494B14D14F@gmx.net> (raw)
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
next reply other threads:[~2017-05-02 17:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-02 17:09 Helmut Brandl [this message]
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
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=971FC6F9-5D09-42B6-BAF7-1C494B14D14F@gmx.net \
--to=helmut.brandl@gmx.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