From: Remi Vanicat <rvanicat@ens-lyon.fr>
To: caml-list@inria.fr
Subject: Text inclusion
Date: Mon, 30 Nov 1998 20:34:02 +0100 (MET) [thread overview]
Message-ID: <199811301934.UAA15831@dragon.ens-lyon.fr> (raw)
In-Reply-To: <Pine.LNX.4.03.9811302134520.21292-100000@post.tepkom.ru>
Anton Moscal writes:
> Hello,
>
> I made an attempt to implement by camlp4 some form of the file inclusion. Everything works,
> but I've encountered the following problem: because AST contains only position information
> (and not the file name), ocaml produces incorrect info about error location.
>
> After the discussion with Daniel de Rauglaudre, it turned out that supporting this info
> required small changes in ocaml & camlp4 (I can send patches, with which
> everything works well on my computer). Daniel says the following:
>
> > Well, if Xavier implements your system of location, I make the
> > associated change in Camlp4 (even if there are numerous changes). The
> > problem is to convince him.
>
> I've prepared a text with some argumentation in favour of the usefulness of
> certain kinds of text inclusion:
>
> ++++++++++++++++++++++++++++++++++++++++++++
This system of location may also be useful for error in a ocamlyacc
file, to go directly to the error not to an image of it.
Resume en francais :
Anton Moscal a proposer d'implenter un system de positionement tenant
non seulement en compte le numro de ligne mais aussi le fichier pour
pouvoir gerer l'inclusion de fichier.
Je remarquai au passage que cela pourait-etre interessant pour
ocamlyacc.
prev parent reply other threads:[~1998-12-01 18:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-11-30 18:36 Anton Moscal
1998-11-30 19:34 ` Remi Vanicat [this message]
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=199811301934.UAA15831@dragon.ens-lyon.fr \
--to=rvanicat@ens-lyon.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