Browse thread
[Caml-list] debugging hints and camlp4 macros
-
Basile STARYNKEVITCH
- Daniel de Rauglaudre
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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 |
Hi, 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 terminated. -- Daniel de RAUGLAUDRE daniel.de_rauglaudre@inria.fr http://cristal.inria.fr/~ddr/ ------------------- 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