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: cpplib: Initial preparations for new lexer


On Sun, Apr 16, 2000 at 10:58:26AM +0900, Neil Booth wrote:
> Zack Weinberg wrote:-
> 
> > I still don't see why this is going in cpplib.h instead of cpphash.h,
> > but otherwise the patch is fine.
> 
> I'm happy to put it in cpphash.h.  Where do you draw the line between
> the two?

cpplib.h is for the public interface: structures, functions, macros of
interest to a user of the library.  cpphash.h is for internal
information that has to be shared across files.  It ought to be
cppinternal.h, but once again CVS doesn't like renaming files.

Consider the patch pre-approved after you move the definitions to
cpphash.h.

zw

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