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: ANSIfy cp/parser.c


Zack Weinberg wrote:-

> > It would also be nice if the parser(s) were re-entrant, like cpplib.
> 
> Yes, except that there has never been a user of cpplib's notional
> reentrancy and therefore we don't know if it actually works.  I'm
> inclined to call YAGNI.

YAGNI?  Yet another good? ...?

I'm writing mine like Mark did his; it will be re-entrant.  Unlike
cpplib parsers are recursive, so it is more obviously useful in this
case.

Neil.


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