From: Xavier Leroy <firstname.lastname@example.org>
Subject: Re: Patches for #line directives?
In-Reply-To: <email@example.com> from Paul Stodghill at "Jul 9, 97 10:26:41 am"
To: firstname.lastname@example.org (Paul Stodghill)
Date: Thu, 10 Jul 1997 15:40:03 +0200 (MET DST)
> Are there any patches floating around to make Caml-light and/or O'Caml
> support the #line directive?
The latest release of Objective Caml (1.05) supports the
# linenum "filename"
directive (same format as the directives emitted by the C
preprocessor). It has not been tested extensively yet, but if it works
well and there is interest, we might fold it back into Caml Light later.
> In particular, I'm using noweb to generate
> some Caml code, and I would like the debugger to point me back to the
> original .nw source file.
This should work pretty well as long as you're careful about copying
whole lines from the .nw file to the generated .ml file.
- Xavier Leroy
This archive was generated by hypermail 2b29 : Sun Jan 02 2000 - 11:58:11 MET