This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [libcpp] RFA: Add support for comments retrieval
- From: Arnaud Charlet <charlet at adacore dot com>
- To: Basile STARYNKEVITCH <basile at starynkevitch dot net>
- Cc: gcc-patches at gcc dot gnu dot org, Matthew Gingell <gingell at adacore dot com>
- Date: Fri, 26 Sep 2008 16:59:35 +0200
- Subject: Re: [libcpp] RFA: Add support for comments retrieval
- References: <20080926145008.GA11573@adacore.com> <48DCF82F.1000104@starynkevitch.net>
> I agree, but in that case I suggest adding some documentation somewhere,
> probably a small paragraph in some *.texi file. I am currently not able to
It's documented in include/cpplib.h, but if people think more documentation
elsewhere would be helpful, that's fine with me, lathough I do not really
see why this function would be different from others that are documented
in the sources directly.
> figure out how could I use such a function, even if it interests me a lot.
> My previous thinking was that comments is the first thing a lexer wants to
> be removed!
Note that the comment handling is optional in libcpp, triggered with the
-C switch, so this patch only affects this mode.
Arno