Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Sven LUTHER <luther@dpt-info.u-strasbg.fr>
To: Christophe Raffalli <Christophe.Raffalli@univ-savoie.fr>
Cc: caml-list@inria.fr
Subject: Re: pb with ocamldep
Date: Thu, 8 Jun 2000 10:57:58 +0200	[thread overview]
Message-ID: <20000608105758.B10624@lambda.u-strasbg.fr> (raw)
In-Reply-To: <393E5A54.508A3908@univ-savoie.fr>; from Christophe.Raffalli@univ-savoie.fr on Wed, Jun 07, 2000 at 04:21:08PM +0200

On Wed, Jun 07, 2000 at 04:21:08PM +0200, Christophe Raffalli wrote:
> 
> It would be nice ocamldep coud also accept the -pp option to call a
> preprocessor.
> 
> I have some problems with files that are not syntacticaly correct before
> preprocessing !
> So I can not use ocamldep on these files and this is annoying.

What about piping them through the preprocessor before handling them over to
ocamldep, in true unixish tradition ?

Something like (surely not exact, but you will understand the thought) :

ls *.ml* | cpp <options> | ocamldep >>.depend

Friendly,

Sven LUTHER




  parent reply	other threads:[~2000-06-08 20:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-07 14:21 Christophe Raffalli
2000-06-07 18:48 ` Michael Hicks
2000-06-07 22:24 ` Max Skaller
2000-06-08  8:57 ` Sven LUTHER [this message]
2000-06-08 12:01   ` Christophe Raffalli
2000-06-08 13:01 ` Daniel de Rauglaudre
2000-06-08 10:25 Gerard Huet

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=20000608105758.B10624@lambda.u-strasbg.fr \
    --to=luther@dpt-info.u-strasbg.fr \
    --cc=Christophe.Raffalli@univ-savoie.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