This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: remove a couple less-than-useful things from cpp
>>>>> Zack Weinberg <zack@wolery.cumb.org> writes:
> On Tue, May 02, 2000 at 12:41:15PM -0700, Jason Merrill wrote:
>> Um, as described in the comments, the C++ frontend USE_CPPLIB code uses
>> manual_pop to regurgitate member function bodies. It needs to know when
>> we're dealing with such a buffer so that it can save and restore lookahead
>> tokens properly. Do you have an alternate solution to that problem?
> --enable-c-cpplib won't compile at the moment, if you remember.
Yes, I remember. Just trying to save reinventing the wheel down the road.
> I'm willing to bet that a tactic similar to the one used by
> _cpp_expand_to_buffer will do what you need - but I don't want to
> think about front-end integration until the core code is done.
I don't see how that deals with the lookahead issue, but OK.
Jason