This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [libcpp] RFA: Add support for comments retrieval


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]