From: James Leifer <James.Leifer@inria.fr>
To: caml-list@inria.fr
Subject: [Caml-list] changing the filename in errors reported by ocamlyacc and ocamllex
Date: Thu, 06 May 2004 15:53:00 +0200 [thread overview]
Message-ID: <r77brl1ll1f.fsf@muscadet.inria.fr> (raw)
Hello.
Anyone know how to get ocamlyacc and ocamllex to report errors in a
filename different from the one that they are processing?
The reason I ask is that I'm *generating* foo.mll and foo.mly from
another set of files (every problem in computer science being
susceptible to an added level of indirection 8-)). I'd like the get
the errors reported in the source rather than generated file. Of
course my Makefile *can* pipe the stdout and stderr of ocamllex and
yacc through a perl script that renames the filenames in the error
reports, but that's obscene.
Ideas?
-James
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
next reply other threads:[~2004-05-06 13:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-06 13:53 James Leifer [this message]
2004-05-06 14:16 ` Remi Vanicat
2004-05-06 14:44 ` James Leifer
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=r77brl1ll1f.fsf@muscadet.inria.fr \
--to=james.leifer@inria.fr \
--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