English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] debugging hints and camlp4 macros
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-06-13 (06:58)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] debugging hints and camlp4 macros

On Tue, Jun 11, 2002 at 11:12:56AM +0200, Basile STARYNKEVITCH wrote:

> Does anyone have any hints or Camlp4 code for that. In particular, I
> am missing the equivalent of (in C, using Gnu GCC preprocessor
> extensions)
> #define dbgprintf(Fmt, Args...)  printf("@@ " __FILE__ ":%d: " Fmt "\n", __LINE__, ##Args)
> [...]

I started something like that some time ago, to provide a general
extension allowing to create one's macros (pa_macros.ml), but not

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