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]

Re: remove a couple less-than-useful things from cpp


>>>>> Zack Weinberg <zack@wolery.cumb.org> writes:

 > This patch eliminates two not-very-useful concepts: the special token
 > for popping off a buffer, and the 'cleanup' function called when that
 > happens.  Both probably seemed like a good idea at the time but have
 > proved to be unnecessary complexity.

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?

Jason

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